I think that the debug print here has a mismatch of format string and parameters: https://github.com/freebsd/freebsd-src/blob/578cbd03f7a53eb23b71b560f8816f84f5a1461b/sys/net80211/ieee80211_proto.c#L749 Attached is a proposed (untested) patch.
Created attachment 259996 [details] Fix
Thanks for the patch; I've queued this one.
Sorry, this slipped last year. I just found it again and am about to push it in once a compile finishes.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=75556c7e999e9095ce71558ae61f49c1ba61a192 commit 75556c7e999e9095ce71558ae61f49c1ba61a192 Author: Yichen Chai <yichen.chai@gmail.com> AuthorDate: 2026-01-14 18:44:08 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2026-01-14 18:51:11 +0000 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 sys/net80211/ieee80211_proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2e93d2f39d72e5542781165c368343d7d73643e9 commit 2e93d2f39d72e5542781165c368343d7d73643e9 Author: Yichen Chai <yichen.chai@gmail.com> AuthorDate: 2026-01-14 18:44:08 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2026-01-17 07:51:24 +0000 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) sys/net80211/ieee80211_proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=dd1d6a06542cb07acf23682d77eed1a093226d76 commit dd1d6a06542cb07acf23682d77eed1a093226d76 Author: Yichen Chai <yichen.chai@gmail.com> AuthorDate: 2026-01-14 18:44:08 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2026-01-17 13:15:58 +0000 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) (cherry picked from commit 2e93d2f39d72e5542781165c368343d7d73643e9) sys/net80211/ieee80211_proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Merged to relevant stable branches. Thanks a lot for reporting and the change. Sorry it took so long to get it in.
No worries, just glad to have helped!