Print out the bogus beacon interval.

This commit is contained in:
Adrian Chadd 2012-02-28 21:41:47 +00:00
parent 55b44675ae
commit de6818224d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232269

View File

@ -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;
}