diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index b8f3e20f2c8..7d89d99ce19 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -179,8 +179,8 @@ static int iwl5000_hw_set_hw_params(struct iwl_priv *priv) | |||
179 | priv->cfg->num_of_queues * | 179 | priv->cfg->num_of_queues * |
180 | sizeof(struct iwlagn_scd_bc_tbl); | 180 | sizeof(struct iwlagn_scd_bc_tbl); |
181 | priv->hw_params.tfd_size = sizeof(struct iwl_tfd); | 181 | priv->hw_params.tfd_size = sizeof(struct iwl_tfd); |
182 | priv->hw_params.max_stations = IWL5000_STATION_COUNT; | 182 | priv->hw_params.max_stations = IWLAGN_STATION_COUNT; |
183 | priv->hw_params.bcast_sta_id = IWL5000_BROADCAST_ID; | 183 | priv->hw_params.bcast_sta_id = IWLAGN_BROADCAST_ID; |
184 | 184 | ||
185 | priv->hw_params.max_data_size = IWLAGN_RTC_DATA_SIZE; | 185 | priv->hw_params.max_data_size = IWLAGN_RTC_DATA_SIZE; |
186 | priv->hw_params.max_inst_size = IWLAGN_RTC_INST_SIZE; | 186 | priv->hw_params.max_inst_size = IWLAGN_RTC_INST_SIZE; |
@@ -226,8 +226,8 @@ static int iwl5150_hw_set_hw_params(struct iwl_priv *priv) | |||
226 | priv->cfg->num_of_queues * | 226 | priv->cfg->num_of_queues * |
227 | sizeof(struct iwlagn_scd_bc_tbl); | 227 | sizeof(struct iwlagn_scd_bc_tbl); |
228 | priv->hw_params.tfd_size = sizeof(struct iwl_tfd); | 228 | priv->hw_params.tfd_size = sizeof(struct iwl_tfd); |
229 | priv->hw_params.max_stations = IWL5000_STATION_COUNT; | 229 | priv->hw_params.max_stations = IWLAGN_STATION_COUNT; |
230 | priv->hw_params.bcast_sta_id = IWL5000_BROADCAST_ID; | 230 | priv->hw_params.bcast_sta_id = IWLAGN_BROADCAST_ID; |
231 | 231 | ||
232 | priv->hw_params.max_data_size = IWLAGN_RTC_DATA_SIZE; | 232 | priv->hw_params.max_data_size = IWLAGN_RTC_DATA_SIZE; |
233 | priv->hw_params.max_inst_size = IWLAGN_RTC_INST_SIZE; | 233 | priv->hw_params.max_inst_size = IWLAGN_RTC_INST_SIZE; |
@@ -402,6 +402,8 @@ static struct iwl_lib_ops iwl5000_lib = { | |||
402 | .recover_from_tx_stall = iwl_bg_monitor_recover, | 402 | .recover_from_tx_stall = iwl_bg_monitor_recover, |
403 | .check_plcp_health = iwl_good_plcp_health, | 403 | .check_plcp_health = iwl_good_plcp_health, |
404 | .check_ack_health = iwl_good_ack_health, | 404 | .check_ack_health = iwl_good_ack_health, |
405 | .txfifo_flush = iwlagn_txfifo_flush, | ||
406 | .dev_txfifo_flush = iwlagn_dev_txfifo_flush, | ||
405 | }; | 407 | }; |
406 | 408 | ||
407 | static struct iwl_lib_ops iwl5150_lib = { | 409 | static struct iwl_lib_ops iwl5150_lib = { |
@@ -465,6 +467,8 @@ static struct iwl_lib_ops iwl5150_lib = { | |||
465 | .recover_from_tx_stall = iwl_bg_monitor_recover, | 467 | .recover_from_tx_stall = iwl_bg_monitor_recover, |
466 | .check_plcp_health = iwl_good_plcp_health, | 468 | .check_plcp_health = iwl_good_plcp_health, |
467 | .check_ack_health = iwl_good_ack_health, | 469 | .check_ack_health = iwl_good_ack_health, |
470 | .txfifo_flush = iwlagn_txfifo_flush, | ||
471 | .dev_txfifo_flush = iwlagn_dev_txfifo_flush, | ||
468 | }; | 472 | }; |
469 | 473 | ||
470 | static const struct iwl_ops iwl5000_ops = { | 474 | static const struct iwl_ops iwl5000_ops = { |