aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-10-04 01:09:32 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-04 01:09:32 -0400
commit72829071269b19381173a13ea1b2ca2f4f9d4cec (patch)
treea5445625189ba1be6bb8a38a0854452fbfef136f /net/mac80211/main.c
parent10651db75a94c54a34bbf85fbee334d1114da3fb (diff)
parent41f4a6f71fe33faa7971c173c263fb431fe987fe (diff)
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c3
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;