]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: mac80211: make VHT opmode NSS ignore a debug message
authorJohannes Berg <johannes.berg@intel.com>
Tue, 8 Jul 2025 10:58:49 +0000 (12:58 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Jul 2025 08:59:11 +0000 (10:59 +0200)
There's no need to always print it, it's only useful for
debugging specific client issues. Make it a debug message.

Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Link: https://lore.kernel.org/linux-wireless/20250529070922.3467-1-pmenzel@molgen.mpg.de/
Link: https://patch.msgid.link/20250708105849.22448-2-johannes@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/vht.c

index c5c5d16ed6c81a8039ac842ed84c6c57e5f05ef6..b099d79e8fbb2618aa5431218ec401c6505008fc 100644 (file)
@@ -672,8 +672,9 @@ u32 __ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata,
                                sta_opmode.changed |= STA_OPMODE_N_SS_CHANGED;
                        }
                } else {
-                       pr_warn_ratelimited("Ignoring NSS change in VHT Operating Mode Notification from %pM with invalid nss %d",
-                                           link_sta->pub->addr, nss);
+                       sdata_dbg(sdata,
+                                 "Ignore NSS change to invalid %d in VHT opmode notif from %pM",
+                                 nss, link_sta->pub->addr);
                }
        }