aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-05-03 14:53:49 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-05-03 14:53:49 -0400
commit1d7d969dd0b467ba32cf3829e8bf104a5084150d (patch)
treef0de3aca8a33bed612ba2c09f61fcabe289dc14d /net/mac80211/mlme.c
parentwireless: rt2x00: rt2800usb: be in sync with latest windows drivers. (diff)
parentiwlwifi: greenfield support only true for 11n devices (diff)
downloadlinux-dev-1d7d969dd0b467ba32cf3829e8bf104a5084150d.tar.xz
linux-dev-1d7d969dd0b467ba32cf3829e8bf104a5084150d.zip
Merge branch 'wireless-next-2.6' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-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 2d1a2bef366d..17cb8ae912bc 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -174,6 +174,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) {