From: Felix Fietkau Date: Wed, 1 Oct 2025 03:33:52 +0000 (+0200) Subject: wpa_supplicant: do not wait for notify completion X-Git-Tag: v25.12.0-rc1~1107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e7113b3db50adcbdbf76650da3e5ccfeabfff19;p=thirdparty%2Fopenwrt.git wpa_supplicant: do not wait for notify completion There is no callback, so no use tracking the request status. 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 215aa620127..062c4b088a9 100644 --- a/package/network/services/hostapd/files/wpa_supplicant.uc +++ b/package/network/services/hostapd/files/wpa_supplicant.uc @@ -614,7 +614,10 @@ function iface_event(type, name, data) { data ??= {}; data.name = name; - wpas.data.obj.notify(`iface.${type}`, data, null, null, null, -1); + let req = wpas.data.obj.notify(`iface.${type}`, data, null, null, null, -1); + if (req) + req.abort(); + ubus.call("service", "event", { type: `wpa_supplicant.${name}.${type}`, data: {} }); }