summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-rx.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 11:29:04 +0100
committerStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 11:29:04 +0100
commit7c2cde2ef278cb833581fe599c6654fc28b11a7e (patch)
treeacc1efd4d4bf4bddc0543c1fb659f73f6e8bb2a5 /drivers/net/wireless/iwlegacy/iwl-rx.c
parentdcae1c641a4d7b7a00b1a566355ffaa517588aa6 (diff)
downloadop-kernel-dev-7c2cde2ef278cb833581fe599c6654fc28b11a7e.zip
op-kernel-dev-7c2cde2ef278cb833581fe599c6654fc28b11a7e.tar.gz
iwlegacy: partial rxon context cleanup
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-rx.c')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-rx.c b/drivers/net/wireless/iwlegacy/iwl-rx.c
index 746b5a7..2e7c87f 100644
--- a/drivers/net/wireless/iwlegacy/iwl-rx.c
+++ b/drivers/net/wireless/iwlegacy/iwl-rx.c
@@ -241,7 +241,7 @@ int il_set_decrypted_flag(struct il_priv *il,
* All contexts have the same setting here due to it being
* a module parameter, so OK to check any context.
*/
- if (il->contexts[IL_RXON_CTX_BSS].active.filter_flags &
+ if (il->ctx.active.filter_flags &
RXON_FILTER_DIS_DECRYPT_MSK)
return 0;
OpenPOWER on IntegriCloud