mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
[net80211] revert part of r282405 in order to restore IBSS behaviour.
This prevents nodes being created for peers on BSSes that are not our own. (Ie, same channel, IBSS, but different BSS.) The "IBSS merge" thing was fixed by me enabling "see all beacons" in the ath(4) driver a few months ago. Trouble is, we now need the filtering again. Tested: * ath(4), IBSS, on a very busy IBSS channel with lots (> 15) IBSS networks. PR: kern/208643 Sponsored by: Eva Automation, Inc.
This commit is contained in:
parent
222947a742
commit
6966317aba
1 changed files with 1 additions and 4 deletions
|
|
@ -371,10 +371,7 @@ adhoc_input(struct ieee80211_node *ni, struct mbuf *m,
|
|||
/*
|
||||
* Validate the bssid.
|
||||
*/
|
||||
if (!(type == IEEE80211_FC0_TYPE_MGT &&
|
||||
(subtype == IEEE80211_FC0_SUBTYPE_BEACON ||
|
||||
subtype == IEEE80211_FC0_SUBTYPE_PROBE_RESP)) &&
|
||||
!IEEE80211_ADDR_EQ(bssid, vap->iv_bss->ni_bssid) &&
|
||||
if (!IEEE80211_ADDR_EQ(bssid, vap->iv_bss->ni_bssid) &&
|
||||
!IEEE80211_ADDR_EQ(bssid, ifp->if_broadcastaddr)) {
|
||||
/* not interested in */
|
||||
IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_INPUT,
|
||||
|
|
|
|||
Loading…
Reference in a new issue