diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2008-12-21 22:31:23 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:59:27 -0500 |
commit | 51af3d3fbbe326077a7e245268a7de325de6ecd2 (patch) | |
tree | 5cf3010f1cdd86d58f0b234be9eb8fa65d032fc9 /drivers/net/wireless/iwlwifi/iwl-3945.c | |
parent | e52119c50d6a35506b1c063eeacf7acc40b4e03d (diff) |
iwl3945: use rx queue management infrastructure from iwlcore
This patch uses rx queue alloc free and reset function from iwlcore.
This should fix the regression reported by Kalle Valo.
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, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 0260545e356f..d4ee15ed5e4c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -1202,13 +1202,13 @@ int iwl3945_hw_nic_init(struct iwl_priv *priv) | |||
1202 | 1202 | ||
1203 | /* Allocate the RX queue, or reset if it is already allocated */ | 1203 | /* Allocate the RX queue, or reset if it is already allocated */ |
1204 | if (!rxq->bd) { | 1204 | if (!rxq->bd) { |
1205 | rc = iwl3945_rx_queue_alloc(priv); | 1205 | rc = iwl_rx_queue_alloc(priv); |
1206 | if (rc) { | 1206 | if (rc) { |
1207 | IWL_ERR(priv, "Unable to initialize Rx queue\n"); | 1207 | IWL_ERR(priv, "Unable to initialize Rx queue\n"); |
1208 | return -ENOMEM; | 1208 | return -ENOMEM; |
1209 | } | 1209 | } |
1210 | } else | 1210 | } else |
1211 | iwl3945_rx_queue_reset(priv, rxq); | 1211 | iwl_rx_queue_reset(priv, rxq); |
1212 | 1212 | ||
1213 | iwl3945_rx_replenish(priv); | 1213 | iwl3945_rx_replenish(priv); |
1214 | 1214 | ||