diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 35d850223a75..3133681bdaa0 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -175,6 +175,8 @@ static u32 ieee80211_enable_ht(struct ieee80211_sub_if_data *sdata, | |||
175 | ht_changed = conf_is_ht(&local->hw.conf) != enable_ht || | 175 | ht_changed = conf_is_ht(&local->hw.conf) != enable_ht || |
176 | channel_type != local->hw.conf.channel_type; | 176 | channel_type != local->hw.conf.channel_type; |
177 | 177 | ||
178 | if (local->tmp_channel) | ||
179 | local->tmp_channel_type = channel_type; | ||
178 | local->oper_channel_type = channel_type; | 180 | local->oper_channel_type = channel_type; |
179 | 181 | ||
180 | if (ht_changed) { | 182 | if (ht_changed) { |