add /etc/firewall.user to be backed up becuase it is an example in /etc/config/firewall
[openwrt.git] / package / madwifi / patches-testing / 322-ignore_broken_bssid.patch
1 Some misconfigured APs broadcast NULL BSSIDs, which can confuse the STA
2 Ignore those when scanning.
3
4 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
5
6 --- a/net80211/ieee80211_scan_sta.c
7 +++ b/net80211/ieee80211_scan_sta.c
8 @@ -242,6 +242,10 @@
9 struct ieee80211_scan_entry *ise;
10 int hash;
11
12 + /* workaround for broken APs that broadcast NULL BSSIDs */
13 + if (memcmp(wh->i_addr3, "\x00\x00\x00\x00\x00\x00", 6) == 0)
14 + return 0;
15 +
16 hash = STA_HASH(macaddr);
17 SCAN_STA_LOCK_IRQ(st);
18 LIST_FOREACH(se, &st->st_hash[hash], se_hash)
This page took 0.037954 seconds and 5 git commands to generate.