diff --git a/[refs] b/[refs] index e1b0fe5a2301..7ca3423d488f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 932dd97c5fef091dd6f605fb1d40143d67d91e09 +refs/heads/master: 586e01ededf9b713a1512dd658806791a7ca1a50 diff --git a/trunk/net/mac80211/mlme.c b/trunk/net/mac80211/mlme.c index 7a8cd789e487..9f6464f3e05f 100644 --- a/trunk/net/mac80211/mlme.c +++ b/trunk/net/mac80211/mlme.c @@ -357,6 +357,10 @@ ieee80211_determine_chantype(struct ieee80211_sub_if_data *sdata, ret = 0; out: + /* don't print the message below for VHT mismatch if VHT is disabled */ + if (ret & IEEE80211_STA_DISABLE_VHT) + vht_chandef = *chandef; + while (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef, IEEE80211_CHAN_DISABLED)) { if (WARN_ON(chandef->width == NL80211_CHAN_WIDTH_20_NOHT)) {