diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2010-11-10 20:56:42 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-15 21:26:48 +0300 |
commit | fd11743dd25efe7157ff17b03dd2db0cbb6fed05 (patch) | |
tree | 00e20b31a4eaa2689ae880ffd27f0916a9bc0b11 /drivers/net/wireless/iwlwifi/iwl-rx.c | |
parent | 708068db4c09f93937a6a83ac8fff8516f482b0f (diff) | |
download | linux-fd11743dd25efe7157ff17b03dd2db0cbb6fed05.tar.xz |
iwlwlifi: update rx write pointer w/o request mac access in the CAM mode
In iwl_rx_queue_update_write_ptr function
replace iwl_write_direct32 with iwl_write32 when not in power save mode.
We don't have to go through grab nic access as the NIC is already awake.
Signed-off-by: Tomas Winkler <tomas.winkler@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-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index f436270ca39a..baca4cc0073b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c @@ -153,7 +153,7 @@ void iwl_rx_queue_update_write_ptr(struct iwl_priv *priv, struct iwl_rx_queue *q } else { /* Device expects a multiple of 8 */ q->write_actual = (q->write & ~0x7); - iwl_write_direct32(priv, rx_wrt_ptr_reg, q->write_actual); + iwl_write32(priv, rx_wrt_ptr_reg, q->write_actual); } q->need_update = 0; |