mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 19:11:38 +04:00
wpa_supplicant: add ifname to recieved ctrl-event notifications
Simplifies subscribing to multiple objects. Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -943,7 +943,7 @@ function iface_ubus_notify(ifname, event)
|
||||
if (!obj)
|
||||
return;
|
||||
|
||||
obj.notify('ctrl-event', { event }, null, null, null, -1);
|
||||
obj.notify('ctrl-event', { ifname, event }, null, null, null, -1);
|
||||
}
|
||||
|
||||
function iface_ubus_add(ifname)
|
||||
|
||||
Reference in New Issue
Block a user