summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/mac80211/mlme.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index f4513031f1bc..7fb9957359a3 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -4592,8 +4592,7 @@ static int ieee80211_prep_channel(struct ieee80211_sub_if_data *sdata,
4592 else 4592 else
4593 he_oper = NULL; 4593 he_oper = NULL;
4594 4594
4595 if (!he_oper || 4595 if (!ieee80211_verify_sta_he_mcs_support(sband, he_oper))
4596 !ieee80211_verify_sta_he_mcs_support(sband, he_oper))
4597 ifmgd->flags |= IEEE80211_STA_DISABLE_HE; 4596 ifmgd->flags |= IEEE80211_STA_DISABLE_HE;
4598 } 4597 }
4599 4598