aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans.h
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.h
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.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h
index da6cc59dfa2b..78bd2f636452 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans.h
+++ b/drivers/net/wireless/iwlwifi/iwl-trans.h
@@ -146,10 +146,12 @@ struct iwl_trans_ops {
146 * struct iwl_trans - transport common data 146 * struct iwl_trans - transport common data
147 * @ops - pointer to iwl_trans_ops 147 * @ops - pointer to iwl_trans_ops
148 * @shrd - pointer to iwl_shared which holds shared data from the upper layer 148 * @shrd - pointer to iwl_shared which holds shared data from the upper layer
149 * @hcmd_lock: protects HCMD
149 */ 150 */
150struct iwl_trans { 151struct iwl_trans {
151 const struct iwl_trans_ops *ops; 152 const struct iwl_trans_ops *ops;
152 struct iwl_shared *shrd; 153 struct iwl_shared *shrd;
154 spinlock_t hcmd_lock;
153 155
154 /* pointer to trans specific struct */ 156 /* pointer to trans specific struct */
155 /*Ensure that this pointer will always be aligned to sizeof pointer */ 157 /*Ensure that this pointer will always be aligned to sizeof pointer */