correct logic that caused beacon frames received in ibss mode to be

discarded when not scanning
This commit is contained in:
sam 2005-01-18 20:07:44 +00:00
parent 07d33c069a
commit 6495462157

View File

@ -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;
}