]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: mac80211: remove "disabling VHT" message
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Nov 2025 15:05:38 +0000 (16:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 10 Nov 2025 09:38:56 +0000 (10:38 +0100)
This message always occurs with any AP that is simply HT/11n,
remove it.

Link: https://patch.msgid.link/20251105160538.f8b286cfba08.Ib91b5b09a3fff753341b0f7cb0df7f6913a4abe6@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c

index 767804e41a343da36eb7123320175d22d5680f58..2ee9eae89d0559cdbbb20e87af79996283a5693c 100644 (file)
@@ -276,11 +276,8 @@ ieee80211_determine_ap_chan(struct ieee80211_sub_if_data *sdata,
                        return IEEE80211_CONN_MODE_VHT;
                }
        } else if (!vht_oper || !elems->vht_cap_elem) {
-               if (sband->band == NL80211_BAND_5GHZ) {
-                       sdata_info(sdata,
-                                  "VHT information is missing, disabling VHT\n");
+               if (sband->band == NL80211_BAND_5GHZ)
                        return IEEE80211_CONN_MODE_HT;
-               }
                no_vht = true;
        } else if (sband->band == NL80211_BAND_2GHZ) {
                no_vht = true;