diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2009-01-08 13:19:53 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:11 -0500 |
commit | 141c43a3e4c7e8543fea982284765fda5e73837e (patch) | |
tree | 77445c5d25d33a3bbcba137ac32a718ec591217c /drivers/net/wireless/iwlwifi/iwl-3945.c | |
parent | f5965955e0107b116b379cccb94de612281bdf55 (diff) |
iwl3945: kill iwl3945_rx_queue_restock
This patch kills iwl3945_rx_queue_restock function on prise of new
hw_params.rx_wrt_ptr_reg which holds per NIC RX write pointer register.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 8efe33805e11..24d818d1b06b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -1218,7 +1218,7 @@ int iwl3945_hw_nic_init(struct iwl_priv *priv) | |||
1218 | 1218 | ||
1219 | /* Look at using this instead: | 1219 | /* Look at using this instead: |
1220 | rxq->need_update = 1; | 1220 | rxq->need_update = 1; |
1221 | iwl3945_rx_queue_update_write_ptr(priv, rxq); | 1221 | iwl_rx_queue_update_write_ptr(priv, rxq); |
1222 | */ | 1222 | */ |
1223 | 1223 | ||
1224 | rc = iwl_grab_nic_access(priv); | 1224 | rc = iwl_grab_nic_access(priv); |
@@ -2492,6 +2492,8 @@ int iwl3945_hw_set_hw_params(struct iwl_priv *priv) | |||
2492 | priv->hw_params.max_stations = IWL3945_STATION_COUNT; | 2492 | priv->hw_params.max_stations = IWL3945_STATION_COUNT; |
2493 | priv->hw_params.bcast_sta_id = IWL3945_BROADCAST_ID; | 2493 | priv->hw_params.bcast_sta_id = IWL3945_BROADCAST_ID; |
2494 | 2494 | ||
2495 | priv->hw_params.rx_wrt_ptr_reg = FH39_RSCSR_CHNL0_WPTR; | ||
2496 | |||
2495 | return 0; | 2497 | return 0; |
2496 | } | 2498 | } |
2497 | 2499 | ||