revert 1.53; it breaks ibss merge

Noticed by:	Bruno Randolf
Approved by:	re (dwhite)
This commit is contained in:
Sam Leffler 2005-06-13 21:01:06 +00:00
parent b03965ddca
commit bc031652cb

View File

@ -216,6 +216,8 @@ ieee80211_input(struct ieee80211com *ic, struct mbuf *m,
}
bssid = wh->i_addr3;
}
if (type != IEEE80211_FC0_TYPE_DATA)
break;
/*
* Data frame, validate the bssid.
*/
@ -227,8 +229,6 @@ ieee80211_input(struct ieee80211com *ic, struct mbuf *m,
ic->ic_stats.is_rx_wrongbss++;
goto out;
}
if (type != IEEE80211_FC0_TYPE_DATA)
break;
/*
* For adhoc mode we cons up a node when it doesn't
* exist. This should probably done after an ACL check.