From de6818224d4f52b4b894f365d1f72bfa9665fc1b Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Tue, 28 Feb 2012 21:41:47 +0000 Subject: [PATCH] Print out the bogus beacon interval. --- sys/net80211/ieee80211_input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 6fdc49976a72..d54051e72681 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -652,7 +652,8 @@ ieee80211_parse_beacon(struct ieee80211_node *ni, struct mbuf *m, 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; }