|
ubus_invoke(ctx, id, "del_client", b.head, NULL, NULL, timeout * 1000); |
A common pattern in utils/ubus.c is:
list_for_each_entry(sub, &hostapd_sock_list, list)
{
if (sub->subscribed) {
int timeout = 1;
ubus_invoke(ctx, id, "del_client", b.head, NULL, NULL, timeout * 1000);
}
}
It seems to be a copy/paste from:
list_for_each_entry(sub, &hostapd_sock_list, list)
{
if (sub->subscribed) {
int timeout = 1;
ubus_invoke(ctx, sub->id, "del_client", b.head, NULL, NULL, timeout * 1000);
}
}
Its likely that it just needs to be changed to:
int timeout = 1;
ubus_invoke(ctx, id, "del_client", b.head, NULL, NULL, timeout * 1000);
DAWN/src/utils/ubus.c
Line 1255 in 3b220fb
A common pattern in utils/ubus.c is:
It seems to be a copy/paste from:
Its likely that it just needs to be changed to: