https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287625

--- Comment #8 from Bjoern A. Zeeb <b...@freebsd.org> ---
(In reply to Bjoern A. Zeeb from comment #7)

The above change is for main but does not apply to releng/14.3.  A minimal
change for 14.3-RELEASE would be:

diff --git sys/net80211/ieee80211_node.c sys/net80211/ieee80211_node.c
index ae22dc036bb6..69407b7b3e50 100644
--- sys/net80211/ieee80211_node.c
+++ sys/net80211/ieee80211_node.c
@@ -1031,7 +1031,7 @@ ieee80211_sta_join(struct ieee80211vap *vap, struct
ieee80211_channel *chan,
         *
         * For now, don't allow 2GHz VHT operation.
         */
-       if (ni->ni_ies.vhtopmode_ie != NULL &&
+       if (do_ht && ni->ni_ies.vhtopmode_ie != NULL &&
            ni->ni_ies.vhtcap_ie != NULL &&
            vap->iv_vht_flags & IEEE80211_FVHT_VHT) {
                if (IEEE80211_IS_CHAN_2GHZ(ni->ni_chan)) {
@@ -1046,7 +1046,6 @@ ieee80211_sta_join(struct ieee80211vap *vap, struct
ieee80211_channel *chan,
                            ni->ni_ies.vhtopmode_ie);
                        ieee80211_setup_vht_rates(ni, ni->ni_ies.vhtcap_ie,
                            ni->ni_ies.vhtopmode_ie);
-                       do_ht = 1;
                }
        }

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to