hostapd: reject probe/assoc/auth requests if any subscriber rejects them

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2024-05-24 21:36:27 +02:00
committed by John Crispin
parent 03d14daf20
commit b5048d8305

View File

@@ -1830,7 +1830,8 @@ ubus_event_cb(struct ubus_notify_request *req, int idx, int ret)
{
struct ubus_event_req *ureq = container_of(req, struct ubus_event_req, nreq);
ureq->resp = ret;
if (!ureq->resp)
ureq->resp = ret;
}
int hostapd_ubus_handle_event(struct hostapd_data *hapd, struct hostapd_ubus_request *req)