diff options
author | sam <sam@FreeBSD.org> | 2008-10-25 23:26:57 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-10-25 23:26:57 +0000 |
commit | 27b294c5a8896fdaccb0eee660e01dd7ff266beb (patch) | |
tree | 9aa4e2a4eb71842c2e3149713f6effd552ae8784 /sys/net80211 | |
parent | 06916996681931510f019a9ddc294b047d5f3383 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 1 |
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: |