aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorYichen Chai <yichen.chai@gmail.com>2026-01-14 18:44:08 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2026-01-14 18:51:11 +0000
commit75556c7e999e9095ce71558ae61f49c1ba61a192 (patch)
treea6e51ec6d81d516df21d4bf7fd2533e84d957a4f /sys
parentfa24602ca6282d71c26079136a74b85824c0e63b (diff)
net80211: fix arguments to IEEE80211_NOTE in ieee80211_fix_rateHEADmain
Fix the arguments to the debug statement. (slightly adjusted from the original submission by bz) PR: 286448 MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r--sys/net80211/ieee80211_proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_proto.c b/sys/net80211/ieee80211_proto.c
index 4918bf7d025f..ba09cd015a57 100644
--- a/sys/net80211/ieee80211_proto.c
+++ b/sys/net80211/ieee80211_proto.c
@@ -747,8 +747,8 @@ ieee80211_fix_rate(struct ieee80211_node *ni,
((flags & (IEEE80211_F_DOFRATE|IEEE80211_F_DOFMCS)) &&
fixedrate != ucastrate)) {
IEEE80211_NOTE(vap, IEEE80211_MSG_XRATE | IEEE80211_MSG_11N, ni,
- "%s: flags 0x%x okrate %d error %d fixedrate 0x%x "
- "ucastrate %x\n", __func__, fixedrate, ucastrate, flags);
+ "%s: flags 0x%x okrate %d error %d fixedrate 0x%x ucastrate 0x%x\n",
+ __func__, flags, okrate, error, fixedrate, ucastrate);
return badrate | IEEE80211_RATE_BASIC;
} else
return IEEE80211_RV(okrate);