From: Felix Fietkau Date: Fri, 27 Mar 2026 19:38:02 +0000 (+0000) Subject: wpa_supplicant: add ifname to recieved ctrl-event notifications X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14145abcb2d9a1399877d8751f3cbe4e04efbc9d;p=thirdparty%2Fopenwrt.git wpa_supplicant: add ifname to recieved ctrl-event notifications Simplifies subscribing to multiple objects. Signed-off-by: Felix Fietkau --- diff --git a/package/network/services/hostapd/files/wpa_supplicant.uc b/package/network/services/hostapd/files/wpa_supplicant.uc index a0ecdde5cd0..f3beba81865 100644 --- a/package/network/services/hostapd/files/wpa_supplicant.uc +++ b/package/network/services/hostapd/files/wpa_supplicant.uc @@ -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)