wpa_supplicant: do not wait for notify completion

There is no callback, so no use tracking the request status.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2025-10-01 05:33:52 +02:00
parent 263721dd0a
commit 5e7113b3db
1 changed files with 4 additions and 1 deletions

View File

@ -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: {} });
}