diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-10-01 11:12:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-01 11:12:36 -0400 |
commit | 41f4a6f71fe33faa7971c173c263fb431fe987fe (patch) | |
tree | fdc3e603162e3ad63f6ae4160f68eb803bb78d58 /net/mac80211/main.c | |
parent | 94d57c4cfaa43e29ca5fa5ff874048cfc67276f5 (diff) | |
parent | 1728943d83e9fd919e454332fe344944123b3c3a (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index fda97bb0018b..db341a99c7c7 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -110,7 +110,8 @@ int ieee80211_hw_config(struct ieee80211_local *local, u32 changed) | |||
110 | chan = scan_chan; | 110 | chan = scan_chan; |
111 | channel_type = NL80211_CHAN_NO_HT; | 111 | channel_type = NL80211_CHAN_NO_HT; |
112 | local->hw.conf.flags |= IEEE80211_CONF_OFFCHANNEL; | 112 | local->hw.conf.flags |= IEEE80211_CONF_OFFCHANNEL; |
113 | } else if (local->tmp_channel) { | 113 | } else if (local->tmp_channel && |
114 | local->oper_channel != local->tmp_channel) { | ||
114 | chan = scan_chan = local->tmp_channel; | 115 | chan = scan_chan = local->tmp_channel; |
115 | channel_type = local->tmp_channel_type; | 116 | channel_type = local->tmp_channel_type; |
116 | local->hw.conf.flags |= IEEE80211_CONF_OFFCHANNEL; | 117 | local->hw.conf.flags |= IEEE80211_CONF_OFFCHANNEL; |