From 5e7113b3db50adcbdbf76650da3e5ccfeabfff19 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 1 Oct 2025 05:33:52 +0200 Subject: [PATCH] wpa_supplicant: do not wait for notify completion There is no callback, so no use tracking the request status. Signed-off-by: Felix Fietkau --- package/network/services/hostapd/files/wpa_supplicant.uc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/network/services/hostapd/files/wpa_supplicant.uc b/package/network/services/hostapd/files/wpa_supplicant.uc index 215aa62012..062c4b088a 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: {} }); }