diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index ae31968d42d3b855eebe05dcf0e660b4d367ff8f..e3e7d2be9e4110040cdf1b4832bd16ac1b914cdc 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -338,7 +338,7 @@ ieee80211_determine_chantype(struct ieee80211_sub_if_data *sdata, if (WARN_ON(chandef->width == NL80211_CHAN_WIDTH_20_NOHT)) { ret = IEEE80211_STA_DISABLE_HT | IEEE80211_STA_DISABLE_VHT; - goto out; + break; } ret |= chandef_downgrade(chandef);