ucentral-event: do not flush rate-limit on captive interfaces

Fixes: WIFI-12305
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2023-05-04 09:09:21 +02:00
parent be67c7fa07
commit 5cd786fb9a

View File

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