https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287625
--- Comment #12 from commit-h...@freebsd.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5c16917bac65f6d44ec8208861ace61835d38825 commit 5c16917bac65f6d44ec8208861ace61835d38825 Author: Bjoern A. Zeeb <b...@freebsd.org> AuthorDate: 2025-06-18 21:58:20 +0000 Commit: Bjoern A. Zeeb <b...@freebsd.org> CommitDate: 2025-07-13 19:25:02 +0000 net80211: in ieee80211_sta_join() only do_ht if HT is avail In ieee80211_sta_join() there are currently two ways to set "do_ht": (1) after checking HT IEs are avail, and (2) after checking VHT IEs are avail and we are not on 2GHz. In the latter case no one checks that HT IEs are available and when we hit ieee80211_ht_updateparams_final() htinfo may be NULL and we panic. Avoid this by only checking for VHT if do_ht was set. No VHT without HT IEs. While here switch do_ht to be a bool. Sponsored by: The FreeBSD Foundation PR: 287625 Fixes: 51172f62a753f Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D50923 (cherry picked from commit f51c794cbc80682931d47264e3c18329bae0a2c1) sys/net80211/ieee80211_node.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.