summaryrefslogtreecommitdiff
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-17 07:51:24 +0000
commit2e93d2f39d72e5542781165c368343d7d73643e9 (patch)
tree01f53609c550d7e3cbbdcb53b79c6bf202e08915
parentc22f46da9d10383d8b227db8dc305117df758967 (diff)
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 (cherry picked from commit 75556c7e999e9095ce71558ae61f49c1ba61a192)
-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 0c161d98a55a..1e035cece584 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);