]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
wpa_supplicant: add ifname to recieved ctrl-event notifications
authorFelix Fietkau <nbd@nbd.name>
Fri, 27 Mar 2026 19:38:02 +0000 (19:38 +0000)
committerFelix Fietkau <nbd@nbd.name>
Sun, 5 Apr 2026 15:00:12 +0000 (15:00 +0000)
Simplifies subscribing to multiple objects.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/files/wpa_supplicant.uc

index a0ecdde5cd0ffc2eab5c7f94d2da04050e8f96dd..f3beba8186517faa5cbc24e15e9bbf5f917ad4e6 100644 (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)