Patch "wifi: mac80211: Remove "Missing iftype sband data/EHT cap" spam" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    wifi: mac80211: Remove "Missing iftype sband data/EHT cap" spam

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     wifi-mac80211-remove-missing-iftype-sband-data-eht-c.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit fdde0e8e7d5b745d5cbed5e676f067976a07ce25
Author: Nicolas Cavallari <nicolas.cavallari@xxxxxxxxxxxxxxxxxxxxxxx>
Date:   Wed Jun 14 15:26:48 2023 +0200

    wifi: mac80211: Remove "Missing iftype sband data/EHT cap" spam
    
    [ Upstream commit 6e21e7b8cd897193cee3c2649640efceb3004ba5 ]
    
    In mesh mode, ieee80211_chandef_he_6ghz_oper() is called by
    mesh_matches_local() for every received mesh beacon.
    
    On a 6 GHz mesh of a HE-only phy, this spams that the hardware does not
    have EHT capabilities, even if the received mesh beacon does not have an
    EHT element.
    
    Unlike HE, not supporting EHT in the 6 GHz band is not an error so do
    not print anything in this case.
    
    Fixes: 5dca295dd767 ("mac80211: Add initial support for EHT and 320 MHz channels")
    
    Signed-off-by: Nicolas Cavallari <nicolas.cavallari@xxxxxxxxxxxxxxxxxxxxxxx>
    Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20230614132648.28995-1-nicolas.cavallari@xxxxxxxxxxxxxxxxxxxxxxx
    Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 784b9ba61581e..98806c359b173 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -3599,10 +3599,8 @@ bool ieee80211_chandef_he_6ghz_oper(struct ieee80211_sub_if_data *sdata,
 	}
 
 	eht_cap = ieee80211_get_eht_iftype_cap(sband, iftype);
-	if (!eht_cap) {
-		sdata_info(sdata, "Missing iftype sband data/EHT cap");
+	if (!eht_cap)
 		eht_oper = NULL;
-	}
 
 	he_6ghz_oper = ieee80211_he_6ghz_oper(he_oper);
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux