Commit 381cd702 authored by Anjan Chanda's avatar Anjan Chanda

wifi_sta_disconnect() accepts macaddress in bytes

parent c4063e9c
......@@ -1627,8 +1627,7 @@ static int sta_disconnect(struct ubus_context *ctx, struct ubus_object *obj,
fprintf(stderr, "%s(): Invalid address format. Use 00:10:22:..\n", __func__);
return UBUS_STATUS_INVALID_ARGUMENT;
}
if (wifi_disconnect_sta(ifname, sta_str) != 0) {
if (wifi_disconnect_sta(ifname, sta) != 0) {
return UBUS_STATUS_UNKNOWN_ERROR;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment