ucentral-event: fix captive portal rate-limiting

Fixes: WIFI-12305
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2023-03-16 17:08:14 +01:00
parent c700795895
commit 96c391eaac

View File

@@ -84,7 +84,7 @@ let handlers = {
ssid: hapd.ssid,
bssid: hapd.bssid,
});
if (ratelimit) {
if (ratelimit && !wildcard(notify.data.phy, 'wlanc*')) {
let msg = {
device: hapd.ifname,
address: notify.data.address,