net80211: fix arguments to IEEE80211_NOTE in ieee80211_fix_rate

Fix the arguments to the debug statement.

(slightly adjusted from the original submission by bz)

PR:		286448
MFC after:	3 days
This commit is contained in:
Yichen Chai
2026-01-14 18:44:08 +00:00
committed by Bjoern A. Zeeb
parent fa24602ca6
commit 75556c7e99
+2 -2
View File
@@ -747,8 +747,8 @@ ieee80211_fix_rate(struct ieee80211_node *ni,
((flags & (IEEE80211_F_DOFRATE|IEEE80211_F_DOFMCS)) && ((flags & (IEEE80211_F_DOFRATE|IEEE80211_F_DOFMCS)) &&
fixedrate != ucastrate)) { fixedrate != ucastrate)) {
IEEE80211_NOTE(vap, IEEE80211_MSG_XRATE | IEEE80211_MSG_11N, ni, IEEE80211_NOTE(vap, IEEE80211_MSG_XRATE | IEEE80211_MSG_11N, ni,
"%s: flags 0x%x okrate %d error %d fixedrate 0x%x " "%s: flags 0x%x okrate %d error %d fixedrate 0x%x ucastrate 0x%x\n",
"ucastrate %x\n", __func__, fixedrate, ucastrate, flags); __func__, flags, okrate, error, fixedrate, ucastrate);
return badrate | IEEE80211_RATE_BASIC; return badrate | IEEE80211_RATE_BASIC;
} else } else
return IEEE80211_RV(okrate); return IEEE80211_RV(okrate);