svn commit: r184270 - head/sys/net80211

Sam Leffler sam at FreeBSD.org
Sat Oct 25 16:26:58 PDT 2008


Author: sam
Date: Sat Oct 25 23:26:57 2008
New Revision: 184270
URL: http://svn.freebsd.org/changeset/base/184270

Log:
  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")

Modified:
  head/sys/net80211/ieee80211_input.c

Modified: head/sys/net80211/ieee80211_input.c
==============================================================================
--- head/sys/net80211/ieee80211_input.c	Sat Oct 25 23:24:49 2008	(r184269)
+++ head/sys/net80211/ieee80211_input.c	Sat Oct 25 23:26:57 2008	(r184270)
@@ -603,6 +603,7 @@ ieee80211_parse_beacon(struct ieee80211_
 			break;
 		case IEEE80211_ELEMID_IBSSPARMS:
 		case IEEE80211_ELEMID_CFPARMS:
+		case IEEE80211_ELEMID_PWRCNSTR:
 			/* NB: avoid debugging complaints */
 			break;
 		case IEEE80211_ELEMID_XRATES:


More information about the svn-src-all mailing list