diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 1a0d38cd4633..ce25d14db4d2 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c @@ -3707,10 +3707,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);