mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
WiFi.DataElements: not necessary to provide 'bsta' when calling 'steer_backhaul' ubus method
This commit is contained in:
parent
0273b12ea4
commit
f9de22032b
1 changed files with 1 additions and 8 deletions
|
|
@ -3389,16 +3389,9 @@ static int operate_WiFiDataElementsNetworkDeviceMultiAPDeviceBackhaul_SteerWiFiB
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *bsta = dmjson_get_value(((struct dm_data *)data)->json_object, 3, "MultiAPDevice", "Backhaul", "MACAddress");
|
|
||||||
if (DM_STRLEN(bsta) == 0) {
|
|
||||||
status = "Error_Invalid_Input";
|
|
||||||
goto end;
|
|
||||||
}
|
|
||||||
|
|
||||||
dmubus_call("map.controller", "steer_backhaul", UBUS_ARGS{{"agent", agent, String},
|
dmubus_call("map.controller", "steer_backhaul", UBUS_ARGS{{"agent", agent, String},
|
||||||
{"target_bssid", target_bbs, String},
|
{"target_bssid", target_bbs, String},
|
||||||
{"bsta", bsta, String},
|
{"timeout", time_out, Integer}}, 3, &res);
|
||||||
{"timeout", time_out, Integer}}, 4, &res);
|
|
||||||
|
|
||||||
if (res == NULL) {
|
if (res == NULL) {
|
||||||
status = "Error_Invalid_Input";
|
status = "Error_Invalid_Input";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue