diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-6000.c')
| -rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 74e571049273..a5a0ed4817a4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
| @@ -215,6 +215,7 @@ static struct iwl_lib_ops iwl6000_lib = { | |||
| 215 | .load_ucode = iwl5000_load_ucode, | 215 | .load_ucode = iwl5000_load_ucode, |
| 216 | .dump_nic_event_log = iwl_dump_nic_event_log, | 216 | .dump_nic_event_log = iwl_dump_nic_event_log, |
| 217 | .dump_nic_error_log = iwl_dump_nic_error_log, | 217 | .dump_nic_error_log = iwl_dump_nic_error_log, |
| 218 | .dump_csr = iwl_dump_csr, | ||
| 218 | .init_alive_start = iwl5000_init_alive_start, | 219 | .init_alive_start = iwl5000_init_alive_start, |
| 219 | .alive_notify = iwl5000_alive_notify, | 220 | .alive_notify = iwl5000_alive_notify, |
| 220 | .send_tx_power = iwl5000_send_tx_power, | 221 | .send_tx_power = iwl5000_send_tx_power, |
| @@ -252,7 +253,7 @@ static struct iwl_lib_ops iwl6000_lib = { | |||
| 252 | }, | 253 | }, |
| 253 | }; | 254 | }; |
| 254 | 255 | ||
| 255 | static struct iwl_ops iwl6000_ops = { | 256 | static const struct iwl_ops iwl6000_ops = { |
| 256 | .ucode = &iwl5000_ucode, | 257 | .ucode = &iwl5000_ucode, |
| 257 | .lib = &iwl6000_lib, | 258 | .lib = &iwl6000_lib, |
| 258 | .hcmd = &iwl5000_hcmd, | 259 | .hcmd = &iwl5000_hcmd, |
| @@ -267,7 +268,7 @@ static struct iwl_hcmd_utils_ops iwl6050_hcmd_utils = { | |||
| 267 | .calc_rssi = iwl5000_calc_rssi, | 268 | .calc_rssi = iwl5000_calc_rssi, |
| 268 | }; | 269 | }; |
| 269 | 270 | ||
| 270 | static struct iwl_ops iwl6050_ops = { | 271 | static const struct iwl_ops iwl6050_ops = { |
| 271 | .ucode = &iwl5000_ucode, | 272 | .ucode = &iwl5000_ucode, |
| 272 | .lib = &iwl6000_lib, | 273 | .lib = &iwl6000_lib, |
| 273 | .hcmd = &iwl5000_hcmd, | 274 | .hcmd = &iwl5000_hcmd, |
| @@ -306,7 +307,6 @@ struct iwl_cfg iwl6000i_2agn_cfg = { | |||
| 306 | .supports_idle = true, | 307 | .supports_idle = true, |
| 307 | .adv_thermal_throttle = true, | 308 | .adv_thermal_throttle = true, |
| 308 | .support_ct_kill_exit = true, | 309 | .support_ct_kill_exit = true, |
| 309 | .sm_ps_mode = WLAN_HT_CAP_SM_PS_DISABLED, | ||
| 310 | }; | 310 | }; |
| 311 | 311 | ||
| 312 | struct iwl_cfg iwl6000i_2abg_cfg = { | 312 | struct iwl_cfg iwl6000i_2abg_cfg = { |
| @@ -395,7 +395,6 @@ struct iwl_cfg iwl6050_2agn_cfg = { | |||
| 395 | .supports_idle = true, | 395 | .supports_idle = true, |
| 396 | .adv_thermal_throttle = true, | 396 | .adv_thermal_throttle = true, |
| 397 | .support_ct_kill_exit = true, | 397 | .support_ct_kill_exit = true, |
| 398 | .sm_ps_mode = WLAN_HT_CAP_SM_PS_DYNAMIC, | ||
| 399 | }; | 398 | }; |
| 400 | 399 | ||
| 401 | struct iwl_cfg iwl6050_2abg_cfg = { | 400 | struct iwl_cfg iwl6050_2abg_cfg = { |
| @@ -455,7 +454,6 @@ struct iwl_cfg iwl6000_3agn_cfg = { | |||
| 455 | .supports_idle = true, | 454 | .supports_idle = true, |
| 456 | .adv_thermal_throttle = true, | 455 | .adv_thermal_throttle = true, |
| 457 | .support_ct_kill_exit = true, | 456 | .support_ct_kill_exit = true, |
| 458 | .sm_ps_mode = WLAN_HT_CAP_SM_PS_DISABLED, | ||
| 459 | }; | 457 | }; |
| 460 | 458 | ||
| 461 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); | 459 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); |
