c63901d9e89a5d20035aa9a028c6166d1eb62e57
[openwrt.git] / package / madwifi / patches / 451-ibss_race_fix.patch
1 --- a/net80211/ieee80211_input.c
2 +++ b/net80211/ieee80211_input.c
3 @@ -3573,6 +3573,9 @@ ieee80211_recv_mgmt(struct ieee80211vap
4 found = 1;
5 ni = ni_or_null = vap->iv_wdsnode;
6 } else if (vap->iv_opmode == IEEE80211_M_IBSS) {
7 + if (vap->iv_state != IEEE80211_S_RUN)
8 + break;
9 +
10 ni_or_null = ieee80211_find_node(&ic->ic_sta, wh->i_addr2);
11 if (ni_or_null)
12 ni = ni_or_null;
This page took 0.03823 seconds and 3 git commands to generate.