Skip to content

Commit 6e21e7b

Browse files
Nicolas Cavallarijmberg-intel
authored andcommitted
wifi: mac80211: Remove "Missing iftype sband data/EHT cap" spam
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: 5dca295 ("mac80211: Add initial support for EHT and 320 MHz channels") Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> Reviewed-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/20230614132648.28995-1-nicolas.cavallari@green-communications.fr Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent efbe8f8 commit 6e21e7b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

net/mac80211/util.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3880,10 +3880,8 @@ bool ieee80211_chandef_he_6ghz_oper(struct ieee80211_sub_if_data *sdata,
38803880
}
38813881

38823882
eht_cap = ieee80211_get_eht_iftype_cap(sband, iftype);
3883-
if (!eht_cap) {
3884-
sdata_info(sdata, "Missing iftype sband data/EHT cap");
3883+
if (!eht_cap)
38853884
eht_oper = NULL;
3886-
}
38873885

38883886
he_6ghz_oper = ieee80211_he_6ghz_oper(he_oper);
38893887

0 commit comments

Comments
 (0)