diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-09-02 13:30:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-02 13:30:07 -0400 |
commit | 78ab952717b62c0ba6ca7f7a27eaa0486685e45f (patch) | |
tree | a4ab2bfc578f279fc6847031f501d84c75057531 /drivers/net/wireless/iwlwifi/iwl-rx.c | |
parent | 3e502e63586920f219ed2590f69c1f5a8888cfa4 (diff) | |
parent | 85f72bc839705294b32b6c16b491c0422f0a71b3 (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 'drivers/net/wireless/iwlwifi/iwl-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index 79773e353baa..10be197b0f22 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c | |||
@@ -228,7 +228,7 @@ void iwl_recover_from_statistics(struct iwl_priv *priv, | |||
228 | { | 228 | { |
229 | if (test_bit(STATUS_EXIT_PENDING, &priv->status)) | 229 | if (test_bit(STATUS_EXIT_PENDING, &priv->status)) |
230 | return; | 230 | return; |
231 | if (iwl_is_associated(priv)) { | 231 | if (iwl_is_any_associated(priv)) { |
232 | if (priv->cfg->ops->lib->check_ack_health) { | 232 | if (priv->cfg->ops->lib->check_ack_health) { |
233 | if (!priv->cfg->ops->lib->check_ack_health( | 233 | if (!priv->cfg->ops->lib->check_ack_health( |
234 | priv, pkt)) { | 234 | priv, pkt)) { |
@@ -266,7 +266,12 @@ int iwl_set_decrypted_flag(struct iwl_priv *priv, | |||
266 | { | 266 | { |
267 | u16 fc = le16_to_cpu(hdr->frame_control); | 267 | u16 fc = le16_to_cpu(hdr->frame_control); |
268 | 268 | ||
269 | if (priv->active_rxon.filter_flags & RXON_FILTER_DIS_DECRYPT_MSK) | 269 | /* |
270 | * All contexts have the same setting here due to it being | ||
271 | * a module parameter, so OK to check any context. | ||
272 | */ | ||
273 | if (priv->contexts[IWL_RXON_CTX_BSS].active.filter_flags & | ||
274 | RXON_FILTER_DIS_DECRYPT_MSK) | ||
270 | return 0; | 275 | return 0; |
271 | 276 | ||
272 | if (!(fc & IEEE80211_FCTL_PROTECTED)) | 277 | if (!(fc & IEEE80211_FCTL_PROTECTED)) |