[toolchain] uClibc: enhance debug support (closes: #6118)
[openwrt.git] / package / madwifi / patches / 378-adhoc_crash_fix.patch
1 --- a/net80211/ieee80211_input.c
2 +++ b/net80211/ieee80211_input.c
3 @@ -3529,6 +3529,11 @@ ieee80211_recv_mgmt(struct ieee80211vap
4 if (ic->ic_flags & IEEE80211_F_SCAN) {
5 ieee80211_add_scan(vap, &scan, wh, subtype, rssi, rtsf);
6 }
7 +
8 + /* stop processing if the bss channel is not set up yet */
9 + if (!ic->ic_bsschan || ic->ic_bsschan == IEEE80211_CHAN_ANYC)
10 + break;
11 +
12 /* NB: Behavior of WDS-Link and Ad-Hoc is very similar here:
13 * When we receive a beacon that belongs to the AP that we're
14 * connected to, use it to refresh the local node info.
This page took 0.045616 seconds and 5 git commands to generate.