diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index 1b25ad63b5c1..fd9fbc93ea1b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -195,8 +195,7 @@ static int iwl5000_hw_set_hw_params(struct iwl_priv *priv) | |||
195 | priv->hw_params.valid_tx_ant = priv->cfg->valid_tx_ant; | 195 | priv->hw_params.valid_tx_ant = priv->cfg->valid_tx_ant; |
196 | priv->hw_params.valid_rx_ant = priv->cfg->valid_rx_ant; | 196 | priv->hw_params.valid_rx_ant = priv->cfg->valid_rx_ant; |
197 | 197 | ||
198 | if (priv->cfg->ops->lib->temp_ops.set_ct_kill) | 198 | iwl5000_set_ct_threshold(priv); |
199 | priv->cfg->ops->lib->temp_ops.set_ct_kill(priv); | ||
200 | 199 | ||
201 | /* Set initial sensitivity parameters */ | 200 | /* Set initial sensitivity parameters */ |
202 | /* Set initial calibration set */ | 201 | /* Set initial calibration set */ |
@@ -242,8 +241,7 @@ static int iwl5150_hw_set_hw_params(struct iwl_priv *priv) | |||
242 | priv->hw_params.valid_tx_ant = priv->cfg->valid_tx_ant; | 241 | priv->hw_params.valid_tx_ant = priv->cfg->valid_tx_ant; |
243 | priv->hw_params.valid_rx_ant = priv->cfg->valid_rx_ant; | 242 | priv->hw_params.valid_rx_ant = priv->cfg->valid_rx_ant; |
244 | 243 | ||
245 | if (priv->cfg->ops->lib->temp_ops.set_ct_kill) | 244 | iwl5150_set_ct_threshold(priv); |
246 | priv->cfg->ops->lib->temp_ops.set_ct_kill(priv); | ||
247 | 245 | ||
248 | /* Set initial sensitivity parameters */ | 246 | /* Set initial sensitivity parameters */ |
249 | /* Set initial calibration set */ | 247 | /* Set initial calibration set */ |
@@ -370,9 +368,7 @@ static struct iwl_lib_ops iwl5000_lib = { | |||
370 | .set_channel_switch = iwl5000_hw_channel_switch, | 368 | .set_channel_switch = iwl5000_hw_channel_switch, |
371 | .apm_ops = { | 369 | .apm_ops = { |
372 | .init = iwl_apm_init, | 370 | .init = iwl_apm_init, |
373 | .stop = iwl_apm_stop, | ||
374 | .config = iwl5000_nic_config, | 371 | .config = iwl5000_nic_config, |
375 | .set_pwr_src = iwl_set_pwr_src, | ||
376 | }, | 372 | }, |
377 | .eeprom_ops = { | 373 | .eeprom_ops = { |
378 | .regulatory_bands = { | 374 | .regulatory_bands = { |
@@ -384,7 +380,6 @@ static struct iwl_lib_ops iwl5000_lib = { | |||
384 | EEPROM_REG_BAND_24_HT40_CHANNELS, | 380 | EEPROM_REG_BAND_24_HT40_CHANNELS, |
385 | EEPROM_REG_BAND_52_HT40_CHANNELS | 381 | EEPROM_REG_BAND_52_HT40_CHANNELS |
386 | }, | 382 | }, |
387 | .verify_signature = iwlcore_eeprom_verify_signature, | ||
388 | .acquire_semaphore = iwlcore_eeprom_acquire_semaphore, | 383 | .acquire_semaphore = iwlcore_eeprom_acquire_semaphore, |
389 | .release_semaphore = iwlcore_eeprom_release_semaphore, | 384 | .release_semaphore = iwlcore_eeprom_release_semaphore, |
390 | .calib_version = iwlagn_eeprom_calib_version, | 385 | .calib_version = iwlagn_eeprom_calib_version, |
@@ -395,7 +390,6 @@ static struct iwl_lib_ops iwl5000_lib = { | |||
395 | .config_ap = iwl_config_ap, | 390 | .config_ap = iwl_config_ap, |
396 | .temp_ops = { | 391 | .temp_ops = { |
397 | .temperature = iwlagn_temperature, | 392 | .temperature = iwlagn_temperature, |
398 | .set_ct_kill = iwl5000_set_ct_threshold, | ||
399 | }, | 393 | }, |
400 | .manage_ibss_station = iwlagn_manage_ibss_station, | 394 | .manage_ibss_station = iwlagn_manage_ibss_station, |
401 | .update_bcast_stations = iwl_update_bcast_stations, | 395 | .update_bcast_stations = iwl_update_bcast_stations, |
@@ -442,9 +436,7 @@ static struct iwl_lib_ops iwl5150_lib = { | |||
442 | .set_channel_switch = iwl5000_hw_channel_switch, | 436 | .set_channel_switch = iwl5000_hw_channel_switch, |
443 | .apm_ops = { | 437 | .apm_ops = { |
444 | .init = iwl_apm_init, | 438 | .init = iwl_apm_init, |
445 | .stop = iwl_apm_stop, | ||
446 | .config = iwl5000_nic_config, | 439 | .config = iwl5000_nic_config, |
447 | .set_pwr_src = iwl_set_pwr_src, | ||
448 | }, | 440 | }, |
449 | .eeprom_ops = { | 441 | .eeprom_ops = { |
450 | .regulatory_bands = { | 442 | .regulatory_bands = { |
@@ -456,7 +448,6 @@ static struct iwl_lib_ops iwl5150_lib = { | |||
456 | EEPROM_REG_BAND_24_HT40_CHANNELS, | 448 | EEPROM_REG_BAND_24_HT40_CHANNELS, |
457 | EEPROM_REG_BAND_52_HT40_CHANNELS | 449 | EEPROM_REG_BAND_52_HT40_CHANNELS |
458 | }, | 450 | }, |
459 | .verify_signature = iwlcore_eeprom_verify_signature, | ||
460 | .acquire_semaphore = iwlcore_eeprom_acquire_semaphore, | 451 | .acquire_semaphore = iwlcore_eeprom_acquire_semaphore, |
461 | .release_semaphore = iwlcore_eeprom_release_semaphore, | 452 | .release_semaphore = iwlcore_eeprom_release_semaphore, |
462 | .calib_version = iwlagn_eeprom_calib_version, | 453 | .calib_version = iwlagn_eeprom_calib_version, |
@@ -467,7 +458,6 @@ static struct iwl_lib_ops iwl5150_lib = { | |||
467 | .config_ap = iwl_config_ap, | 458 | .config_ap = iwl_config_ap, |
468 | .temp_ops = { | 459 | .temp_ops = { |
469 | .temperature = iwl5150_temperature, | 460 | .temperature = iwl5150_temperature, |
470 | .set_ct_kill = iwl5150_set_ct_threshold, | ||
471 | }, | 461 | }, |
472 | .manage_ibss_station = iwlagn_manage_ibss_station, | 462 | .manage_ibss_station = iwlagn_manage_ibss_station, |
473 | .update_bcast_stations = iwl_update_bcast_stations, | 463 | .update_bcast_stations = iwl_update_bcast_stations, |