mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 18:07:52 +00:00
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:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user