diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-09-06 12:31:18 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-14 13:56:36 -0400 |
commit | 3e10caeb55b2693b38f1f80c67c79d918fc42e42 (patch) | |
tree | af9314d427a0d80e3d08e9f96b5d9fef473d69f8 /drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h | |
parent | 65e291acd806fae8cb6fff73a93def84d0ad327a (diff) |
iwlagn: remove priv dereferences from the transport layer
Another round of clean up on the transport layer.
Define a wrapper around wiphy_rfkill_set_hw_state to prevent the
transport layer from accessing priv->hw.
Also move wait_command_queue to the transport layer.
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-int-pcie.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h b/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h index ec4e73737681..f76526e080a3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h | |||
@@ -195,7 +195,8 @@ int iwl_queue_init(struct iwl_queue *q, int count, int slots_num, u32 id); | |||
195 | int iwl_trans_pcie_send_cmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd); | 195 | int iwl_trans_pcie_send_cmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd); |
196 | int __must_check iwl_trans_pcie_send_cmd_pdu(struct iwl_trans *trans, u8 id, | 196 | int __must_check iwl_trans_pcie_send_cmd_pdu(struct iwl_trans *trans, u8 id, |
197 | u32 flags, u16 len, const void *data); | 197 | u32 flags, u16 len, const void *data); |
198 | void iwl_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb); | 198 | void iwl_tx_cmd_complete(struct iwl_trans *trans, |
199 | struct iwl_rx_mem_buffer *rxb); | ||
199 | void iwl_trans_txq_update_byte_cnt_tbl(struct iwl_trans *trans, | 200 | void iwl_trans_txq_update_byte_cnt_tbl(struct iwl_trans *trans, |
200 | struct iwl_tx_queue *txq, | 201 | struct iwl_tx_queue *txq, |
201 | u16 byte_cnt); | 202 | u16 byte_cnt); |