summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-01-28 02:40:18 +0100
committerDavid S. Miller <davem@davemloft.net>2012-01-28 02:40:18 +0100
commitcc0d7b91db000aef1cc12f1d3d4d7f80af9bd419 (patch)
tree5f0e86afb61b33658ec42b37ae739809ec98cb3d /net
parentnet: explicitly add jump_label.h header to sock.h (diff)
parentiwlwifi: fix PCI-E transport "inta" race (diff)
downloadlinux-cc0d7b91db000aef1cc12f1d3d4d7f80af9bd419.tar.xz
linux-cc0d7b91db000aef1cc12f1d3d4d7f80af9bd419.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/ibss.c1
-rw-r--r--net/mac80211/iface.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index b3d76b756cd5..a4643969a13b 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -106,6 +106,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))
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index e47768cb8cb3..01a21c2f6ab3 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -1314,6 +1314,7 @@ u32 __ieee80211_recalc_idle(struct ieee80211_local *local)
continue;
}
/* count everything else */
+ sdata->vif.bss_conf.idle = false;
count++;
}