aboutsummaryrefslogtreecommitdiff
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-02-01 10:48:50 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-02-01 10:48:50 -0500
commit874239f51f8759f3955630fa5da5cf13cd6567d5 (patch)
tree224640a759c0734bc6d0bfd5fd207301b1ef4a10 /net/mac80211/ibss.c
parentb0302aba812bcc39291cdab9ad7e37008f352a91 (diff)
parentb49ba04a3a0382e7314d990707c21094c410425a (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r--net/mac80211/ibss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index a98d370b56f..7b3a0b0aa24 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -81,6 +81,7 @@ static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata,
sdata->drop_unencrypted = capability & WLAN_CAPABILITY_PRIVACY ? 1 : 0;
+ local->oper_channel = chan;
channel_type = ifibss->channel_type;
if (channel_type > NL80211_CHAN_HT20 &&
!cfg80211_can_beacon_sec_chan(local->hw.wiphy, chan, channel_type))