correct logic that caused beacon frames received in ibss mode to be
discarded when not scanning
This commit is contained in:
parent
f77550b56c
commit
f7ef1f6ba8
@ -1693,7 +1693,7 @@ ieee80211_recv_mgmt(struct ieee80211com *ic, struct mbuf *m0,
|
||||
*/
|
||||
if (!((ic->ic_flags & IEEE80211_F_SCAN) ||
|
||||
(ic->ic_opmode == IEEE80211_M_STA && ni->ni_associd) ||
|
||||
ic->ic_opmode != IEEE80211_M_IBSS)) {
|
||||
ic->ic_opmode == IEEE80211_M_IBSS)) {
|
||||
ic->ic_stats.is_rx_mgtdiscard++;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user