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:
Felix Fietkau 2026-03-27 19:38:02 +00:00
parent 361c1107cb
commit 14145abcb2

View File

@ -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)