From: Johannes Berg Date: Tue, 8 Jul 2025 10:58:49 +0000 (+0200) Subject: wifi: mac80211: make VHT opmode NSS ignore a debug message X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1772e571b332fdc480289c241f2273a808c5568d;p=thirdparty%2Flinux.git wifi: mac80211: make VHT opmode NSS ignore a debug message 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 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 --- diff --git a/net/mac80211/vht.c b/net/mac80211/vht.c index c5c5d16ed6c81..b099d79e8fbb2 100644 --- a/net/mac80211/vht.c +++ b/net/mac80211/vht.c @@ -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); } }