summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-20 17:57:56 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-20 17:57:56 -0700
commite46754f8c9333170f11780d8e3a70da1b1a88338 (patch)
tree9b7ac1c7cb4c147c69767908c6dcb7633fb03f12 /net/mac80211/mlme.c
parentef9e83c1ab2981769f16e626179dd56895041b38 (diff)
parentfe6f212ce12341df18ef9b890bea739b4547157b (diff)
downloadop-kernel-dev-e46754f8c9333170f11780d8e3a70da1b1a88338.zip
op-kernel-dev-e46754f8c9333170f11780d8e3a70da1b1a88338.tar.gz
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index c8cd169..4aefa6d 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -168,6 +168,8 @@ static u32 ieee80211_enable_ht(struct ieee80211_sub_if_data *sdata,
ht_changed = conf_is_ht(&local->hw.conf) != enable_ht ||
channel_type != local->hw.conf.channel_type;
+ if (local->tmp_channel)
+ local->tmp_channel_type = channel_type;
local->oper_channel_type = channel_type;
if (ht_changed) {
OpenPOWER on IntegriCloud