mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-04 09:31:26 +02: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:
parent
361c1107cb
commit
14145abcb2
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user