|
@@ -114,12 +114,11 @@ class TR069Service
|
|
|
|
|
|
if($password)
|
|
|
$data['parameterValues'][] = array('InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.PreSharedKey.1.PreSharedKey',$password,'xsd:string');
|
|
|
-
|
|
|
|
|
|
if($ssid)
|
|
|
$data['parameterValues'][] = array('InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID',$ssid,'xsd:string');
|
|
|
-
|
|
|
- $return = $this->post($url, $data);
|
|
|
+
|
|
|
+ $return = $this->post($url, $data);
|
|
|
|
|
|
return $return;
|
|
|
}
|
|
@@ -133,9 +132,8 @@ class TR069Service
|
|
|
$data['parameterValues'] = array();
|
|
|
|
|
|
$data['parameterValues'][] = array('InternetGatewayDevice.VS_AppCfg.VsCatvCfg.CatvPower',$state,'xsd:boolean');
|
|
|
-
|
|
|
|
|
|
- $return = $this->post($url, $data);
|
|
|
+ $return = $this->post($url, $data);
|
|
|
|
|
|
return $return;
|
|
|
}
|