summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c
index 6e06918..3cd9d8a 100644
--- a/sys/net80211/ieee80211_input.c
+++ b/sys/net80211/ieee80211_input.c
@@ -65,6 +65,9 @@ ieee80211_input_all(struct ieee80211com *ic, struct mbuf *m, int rssi, int nf)
struct ieee80211_node *ni;
struct mbuf *mcopy;
+ /* NB: could check for IFF_UP but this is cheaper */
+ if (vap->iv_state == IEEE80211_S_INIT)
+ continue;
/*
* WDS vap's only receive directed traffic from the
* station at the ``far end''. That traffic should
OpenPOWER on IntegriCloud