svn commit: r232269 - head/sys/net80211

Adrian Chadd adrian at FreeBSD.org
Tue Feb 28 21:41:48 UTC 2012


Author: adrian
Date: Tue Feb 28 21:41:47 2012
New Revision: 232269
URL: http://svn.freebsd.org/changeset/base/232269

Log:
  Print out the bogus beacon interval.

Modified:
  head/sys/net80211/ieee80211_input.c

Modified: head/sys/net80211/ieee80211_input.c
==============================================================================
--- head/sys/net80211/ieee80211_input.c	Tue Feb 28 19:50:14 2012	(r232268)
+++ head/sys/net80211/ieee80211_input.c	Tue Feb 28 21:41:47 2012	(r232269)
@@ -652,7 +652,8 @@ ieee80211_parse_beacon(struct ieee80211_
 	      scan->bintval <= IEEE80211_BINTVAL_MAX)) {
 		IEEE80211_DISCARD(vap,
 		    IEEE80211_MSG_ELEMID | IEEE80211_MSG_INPUT,
-		    wh, NULL, "bogus beacon interval", scan->bintval);
+		    wh, NULL, "bogus beacon interval (%d TU)",
+		    (int) scan->bintval);
 		vap->iv_stats.is_rx_badbintval++;
 		scan->status |= IEEE80211_BPARSE_BINTVAL_INVALID;
 	}


More information about the svn-src-all mailing list