summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-15 21:26:53 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-04-09 22:37:23 +0200
commita18f61bc9d18890b0d3814f92cdd5dcda934f20a (patch)
tree9f6c2ef07376007715c1ef8f54e39e50c6b900e3 /drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
parentiwlwifi: move queue mapping out of transport (diff)
downloadlinux-a18f61bc9d18890b0d3814f92cdd5dcda934f20a.tar.xz
linux-a18f61bc9d18890b0d3814f92cdd5dcda934f20a.zip
iwlwifi: move valid_contexts to priv
No other component is accessing it any more, so it can move to the correct place in priv. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-rxon.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-rxon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
index 7e8935ff47fa..4839ad348948 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
@@ -312,7 +312,7 @@ int iwlagn_set_pan_params(struct iwl_priv *priv)
int slot0 = 300, slot1 = 0;
int ret;
- if (priv->shrd->valid_contexts == BIT(IWL_RXON_CTX_BSS))
+ if (priv->valid_contexts == BIT(IWL_RXON_CTX_BSS))
return 0;
BUILD_BUG_ON(NUM_IWL_RXON_CTX != 2);