Skip to content
Commit 6e21e7b8 authored by Nicolas Cavallari's avatar Nicolas Cavallari Committed by Johannes Berg
Browse files

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: 5dca295d

 ("mac80211: Add initial support for EHT and 320 MHz channels")

Signed-off-by: default avatarNicolas Cavallari <nicolas.cavallari@green-communications.fr>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230614132648.28995-1-nicolas.cavallari@green-communications.fr
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent efbe8f81
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment