projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
263721d
)
wpa_supplicant: do not wait for notify completion
author
Felix Fietkau
<nbd@nbd.name>
Wed, 1 Oct 2025 03:33:52 +0000
(
05:33
+0200)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 1 Oct 2025 08:08:54 +0000
(10:08 +0200)
There is no callback, so no use tracking the request status.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/files/wpa_supplicant.uc
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/files/wpa_supplicant.uc
b/package/network/services/hostapd/files/wpa_supplicant.uc
index 215aa62012731ce16db1bbf1451b0065570adace..062c4b088a9aa195b3876b4b7bc86b16c8b5a5a2 100644
(file)
--- 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: {} });
}