Include the tid when printing out crypto replay errors.

I found this useful when trying to debug the AR9160 STA RX filter issue -
I'd get crypto reply errors but it wasn't entirely clear which TID it
was for.
This commit is contained in:
adrian 2011-10-28 15:47:14 +00:00
parent dce52fa119
commit 2ce74f6cf1

View File

@ -571,8 +571,8 @@ ieee80211_notify_replay_failure(struct ieee80211vap *vap,
struct ifnet *ifp = vap->iv_ifp;
IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
"%s replay detected <rsc %ju, csc %ju, keyix %u rxkeyix %u>",
k->wk_cipher->ic_name, (intmax_t) rsc,
"%s replay detected tid %d <rsc %ju, csc %ju, keyix %u rxkeyix %u>",
tid, k->wk_cipher->ic_name, (intmax_t) rsc,
(intmax_t) k->wk_keyrsc[tid],
k->wk_keyix, k->wk_rxkeyix);