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:
parent
263721dd0a
commit
5e7113b3db
|
|
@ -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: {} });
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue