summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-rx.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2009-06-19 13:52:42 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 15:01:56 -0400
commit90e8e424d9c071f2db22100de81af6c8f7df34ee (patch)
treee56d3c3e73b8d2e84b900c764bfeb7fb8fa314ca /drivers/net/wireless/iwlwifi/iwl-rx.c
parent3354a0f6a3ced6957dfb9f689ad075cfa8fd272f (diff)
downloadlinux-90e8e424d9c071f2db22100de81af6c8f7df34ee.tar.gz
linux-90e8e424d9c071f2db22100de81af6c8f7df34ee.tar.bz2
linux-90e8e424d9c071f2db22100de81af6c8f7df34ee.zip
iwlwifi: drop sw_crypto from hw_params.
Each HW supported by iwlwifi is capable of hardware crypto so drop this flag from hw_params structure. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c
index 2160795ed015..66fe365dd08a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-rx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-rx.c
@@ -927,7 +927,7 @@ static void iwl_pass_packet_to_mac80211(struct iwl_priv *priv,
hdr = (struct ieee80211_hdr *)rxb->skb->data;
/* in case of HW accelerated crypto and bad decryption, drop */
- if (!priv->hw_params.sw_crypto &&
+ if (!priv->cfg->mod_params->sw_crypto &&
iwl_set_decrypted_flag(priv, hdr, ampdu_status, stats))
return;