diff options
| author | David S. Miller <davem@davemloft.net> | 2012-01-27 20:40:18 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2012-01-27 20:40:18 -0500 |
| commit | cc0d7b91db000aef1cc12f1d3d4d7f80af9bd419 (patch) | |
| tree | 5f0e86afb61b33658ec42b37ae739809ec98cb3d | |
| parent | 9018e93948c6f8f95fbcc9fa05f6c403d6adb406 (diff) | |
| parent | b49ba04a3a0382e7314d990707c21094c410425a (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
| -rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c | 4 | ||||
| -rw-r--r-- | net/mac80211/ibss.c | 1 | ||||
| -rw-r--r-- | net/mac80211/iface.c | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c index 752493f00406..65d1f05007be 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c | |||
| @@ -972,11 +972,11 @@ void iwl_irq_tasklet(struct iwl_trans *trans) | |||
| 972 | } | 972 | } |
| 973 | #endif | 973 | #endif |
| 974 | 974 | ||
| 975 | spin_unlock_irqrestore(&trans->shrd->lock, flags); | ||
| 976 | |||
| 977 | /* saved interrupt in inta variable now we can reset trans_pcie->inta */ | 975 | /* saved interrupt in inta variable now we can reset trans_pcie->inta */ |
| 978 | trans_pcie->inta = 0; | 976 | trans_pcie->inta = 0; |
| 979 | 977 | ||
| 978 | spin_unlock_irqrestore(&trans->shrd->lock, flags); | ||
| 979 | |||
| 980 | /* Now service all interrupt bits discovered above. */ | 980 | /* Now service all interrupt bits discovered above. */ |
| 981 | if (inta & CSR_INT_BIT_HW_ERR) { | 981 | if (inta & CSR_INT_BIT_HW_ERR) { |
| 982 | IWL_ERR(trans, "Hardware error detected. Restarting.\n"); | 982 | IWL_ERR(trans, "Hardware error detected. Restarting.\n"); |
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, | |||
| 106 | 106 | ||
| 107 | sdata->drop_unencrypted = capability & WLAN_CAPABILITY_PRIVACY ? 1 : 0; | 107 | sdata->drop_unencrypted = capability & WLAN_CAPABILITY_PRIVACY ? 1 : 0; |
| 108 | 108 | ||
| 109 | local->oper_channel = chan; | ||
| 109 | channel_type = ifibss->channel_type; | 110 | channel_type = ifibss->channel_type; |
| 110 | if (channel_type > NL80211_CHAN_HT20 && | 111 | if (channel_type > NL80211_CHAN_HT20 && |
| 111 | !cfg80211_can_beacon_sec_chan(local->hw.wiphy, chan, channel_type)) | 112 | !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) | |||
| 1314 | continue; | 1314 | continue; |
| 1315 | } | 1315 | } |
| 1316 | /* count everything else */ | 1316 | /* count everything else */ |
| 1317 | sdata->vif.bss_conf.idle = false; | ||
| 1317 | count++; | 1318 | count++; |
| 1318 | } | 1319 | } |
| 1319 | 1320 | ||
