Skip to content
Snippets Groups Projects
Commit 84f6330b authored by Janusz Dziedzic's avatar Janusz Dziedzic Committed by Anjan Chanda
Browse files

brcm63xx: mac80211.sh: abort scan after reboot


Issue reproduced on DISC on wl0 when:
 - set country GB channel 149
 - 149 is non-DFS so scan should work while no CAC

After reboot scan on wl0 failed.
I suspect early (before we set country/channel) driver
start on DFS channel and run CAC and for some reason
stuck in that state.

Signed-off-by: default avatarJanusz Dziedzic <janusz.dziedzic@iopsys.eu>
parent 4be019e3
Branches
No related tags found
1 merge request!307brcm63xx: mac80211.sh: abort scan after reboot
......@@ -1566,6 +1566,10 @@ drv_mac80211_setup() {
logger -t mac80211 "different chanspec after fresh start $orig_chanspec vs $cur_chanspec - set chanspec again"
bcm_set_chanspec "$phyiface" "$channel" "$htmode" "$hwmode"
}
# After reboot could be driver stuck in CAC - which base on scan internaly ...
# Then any scan will fail. Simple abort scan after reboot.
wl -i "$phyiface" scanabort
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment