diff options
author | Sam Leffler <sam@FreeBSD.org> | 2005-06-10 16:14:48 +0000 |
---|---|---|
committer | Sam Leffler <sam@FreeBSD.org> | 2005-06-10 16:14:48 +0000 |
commit | 7f1d8b7517a6a93379974243551e0ec0a96cb54e (patch) | |
tree | f566c14b5cc357b5677ea8ac368969c28c86a2fd | |
parent | 2e6e32da7b4f3a3d2b0e9c6ac6de52cf46d5fc35 (diff) |
Notes
-rw-r--r-- | sys/net80211/ieee80211_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 0ed2e940cfc88..73240824f2bd6 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -216,8 +216,6 @@ ieee80211_input(struct ieee80211com *ic, struct mbuf *m, } bssid = wh->i_addr3; } - if (type != IEEE80211_FC0_TYPE_DATA) - break; /* * Data frame, validate the bssid. */ @@ -229,6 +227,8 @@ 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. |