diff options
author | sam <sam@FreeBSD.org> | 2009-04-26 21:50:21 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-04-26 21:50:21 +0000 |
commit | 1e44d091e1be67e4c879788035a2a9161eace942 (patch) | |
tree | 7afa6dd17462a0e7d09ab3364664698e4a03ee89 /sys/net80211/ieee80211_hostap.c | |
parent | 4af5d5056bb6ef08f69414227e158a45d7343719 (diff) | |
download | FreeBSD-src-1e44d091e1be67e4c879788035a2a9161eace942.zip FreeBSD-src-1e44d091e1be67e4c879788035a2a9161eace942.tar.gz |
print both fc bytes when hitting a protocol version mismatch
Diffstat (limited to 'sys/net80211/ieee80211_hostap.c')
-rw-r--r-- | sys/net80211/ieee80211_hostap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_hostap.c b/sys/net80211/ieee80211_hostap.c index 23f211f..5bf8baf 100644 --- a/sys/net80211/ieee80211_hostap.c +++ b/sys/net80211/ieee80211_hostap.c @@ -475,7 +475,8 @@ hostap_input(struct ieee80211_node *ni, struct mbuf *m, if ((wh->i_fc[0] & IEEE80211_FC0_VERSION_MASK) != IEEE80211_FC0_VERSION_0) { IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_ANY, - ni->ni_macaddr, NULL, "wrong version %x", wh->i_fc[0]); + ni->ni_macaddr, NULL, "wrong version, fc %02x:%02x", + wh->i_fc[0], wh->i_fc[1]); vap->iv_stats.is_rx_badversion++; goto err; } |