diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-08-26 02:11:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-29 15:30:31 -0400 |
commit | fd656935cd05f522d7db97386633f6a0d7751218 (patch) | |
tree | c4633b2033c45e85f759789602116c84757f0dd5 /drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h | |
parent | 5f85a7890cbfd2be8f4c6620b2a6774d6b5ac647 (diff) |
iwlagn: remove dereferences of priv from transport
There are still quite a few, but much less.
A few fields have been moved /copied to hw_params which sits in the
shared area:
* priv->cfg->base_params->num_of_ampdu_queues
* priv->cfg->base_params->shadow_reg_enable
* priv->cfg->sku
* priv->ucode_owner
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 bd6e64026a06..269d9e3188b3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h | |||
@@ -162,7 +162,8 @@ irqreturn_t iwl_isr_ict(int irq, void *data); | |||
162 | /***************************************************** | 162 | /***************************************************** |
163 | * TX / HCMD | 163 | * TX / HCMD |
164 | ******************************************************/ | 164 | ******************************************************/ |
165 | void iwl_txq_update_write_ptr(struct iwl_priv *priv, struct iwl_tx_queue *txq); | 165 | void iwl_txq_update_write_ptr(struct iwl_trans *trans, |
166 | struct iwl_tx_queue *txq); | ||
166 | int iwlagn_txq_attach_buf_to_tfd(struct iwl_trans *trans, | 167 | int iwlagn_txq_attach_buf_to_tfd(struct iwl_trans *trans, |
167 | struct iwl_tx_queue *txq, | 168 | struct iwl_tx_queue *txq, |
168 | dma_addr_t addr, u16 len, u8 reset); | 169 | dma_addr_t addr, u16 len, u8 reset); |