aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2011-08-26 02:11:07 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-29 15:30:27 -0400
commit72012474b01e2f2d433e4253505f5dcfb3345d17 (patch)
treeab5453126e619bdfc8fab5584fe4a3df8ee795e7 /drivers/net/wireless/iwlwifi/iwl-trans.c
parent6d8f6eeb350696050a1f5cf8f9d0daabab68eaf5 (diff)
iwlagn: move hcmd_lock to transport layer
Since it is needed for host commands only, it is needed in transport layer only Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@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-trans.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.c b/drivers/net/wireless/iwlwifi/iwl-trans.c
index b448e79c259..73883fe1c2d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans.c
+++ b/drivers/net/wireless/iwlwifi/iwl-trans.c
@@ -1284,6 +1284,7 @@ static struct iwl_trans *iwl_trans_pcie_alloc(struct iwl_shared *shrd)
1284 iwl_trans->ops = &trans_ops_pcie; 1284 iwl_trans->ops = &trans_ops_pcie;
1285 iwl_trans->shrd = shrd; 1285 iwl_trans->shrd = shrd;
1286 trans_pcie->trans = iwl_trans; 1286 trans_pcie->trans = iwl_trans;
1287 spin_lock_init(&iwl_trans->hcmd_lock);
1287 } 1288 }
1288 1289
1289 return iwl_trans; 1290 return iwl_trans;