diff options
Diffstat (limited to 'net')
-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 be5f723d643a..8a9650343f26 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -167,6 +167,8 @@ static u32 ieee80211_enable_ht(struct ieee80211_sub_if_data *sdata, | |||
167 | ht_changed = conf_is_ht(&local->hw.conf) != enable_ht || | 167 | ht_changed = conf_is_ht(&local->hw.conf) != enable_ht || |
168 | channel_type != local->hw.conf.channel_type; | 168 | channel_type != local->hw.conf.channel_type; |
169 | 169 | ||
170 | if (local->tmp_channel) | ||
171 | local->tmp_channel_type = channel_type; | ||
170 | local->oper_channel_type = channel_type; | 172 | local->oper_channel_type = channel_type; |
171 | 173 | ||
172 | if (ht_changed) { | 174 | if (ht_changed) { |