summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_input.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-10-25 23:26:57 +0000
committersam <sam@FreeBSD.org>2008-10-25 23:26:57 +0000
commit27b294c5a8896fdaccb0eee660e01dd7ff266beb (patch)
tree9aa4e2a4eb71842c2e3149713f6effd552ae8784 /sys/net80211/ieee80211_input.c
parent06916996681931510f019a9ddc294b047d5f3383 (diff)
downloadFreeBSD-src-27b294c5a8896fdaccb0eee660e01dd7ff266beb.zip
FreeBSD-src-27b294c5a8896fdaccb0eee660e01dd7ff266beb.tar.gz
ignore IEEE80211_ELEMID_PWRCNSTR when parsing beacon/probe response frames
to avoid counting it as an unknown elemid (we often beacon this so it shows up as a "false positive")
Diffstat (limited to 'sys/net80211/ieee80211_input.c')
-rw-r--r--sys/net80211/ieee80211_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c
index 67bcd43..e72a2a2 100644
--- a/sys/net80211/ieee80211_input.c
+++ b/sys/net80211/ieee80211_input.c
@@ -603,6 +603,7 @@ ieee80211_parse_beacon(struct ieee80211_node *ni, struct mbuf *m,
break;
case IEEE80211_ELEMID_IBSSPARMS:
case IEEE80211_ELEMID_CFPARMS:
+ case IEEE80211_ELEMID_PWRCNSTR:
/* NB: avoid debugging complaints */
break;
case IEEE80211_ELEMID_XRATES:
OpenPOWER on IntegriCloud