diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-1000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-1000.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-1000.c b/drivers/net/wireless/iwlwifi/iwl-1000.c index 2f56b343e869..01b49eb8c8ec 100644 --- a/drivers/net/wireless/iwlwifi/iwl-1000.c +++ b/drivers/net/wireless/iwlwifi/iwl-1000.c | |||
@@ -168,9 +168,6 @@ static int iwl1000_hw_set_hw_params(struct iwl_priv *priv) | |||
168 | 168 | ||
169 | static struct iwl_lib_ops iwl1000_lib = { | 169 | static struct iwl_lib_ops iwl1000_lib = { |
170 | .set_hw_params = iwl1000_hw_set_hw_params, | 170 | .set_hw_params = iwl1000_hw_set_hw_params, |
171 | .rx_handler_setup = iwlagn_rx_handler_setup, | ||
172 | .setup_deferred_work = iwlagn_setup_deferred_work, | ||
173 | .is_valid_rtc_data_addr = iwlagn_hw_valid_rtc_data_addr, | ||
174 | .nic_config = iwl1000_nic_config, | 171 | .nic_config = iwl1000_nic_config, |
175 | .eeprom_ops = { | 172 | .eeprom_ops = { |
176 | .regulatory_bands = { | 173 | .regulatory_bands = { |
@@ -186,10 +183,6 @@ static struct iwl_lib_ops iwl1000_lib = { | |||
186 | .temperature = iwlagn_temperature, | 183 | .temperature = iwlagn_temperature, |
187 | }; | 184 | }; |
188 | 185 | ||
189 | static const struct iwl_ops iwl1000_ops = { | ||
190 | .lib = &iwl1000_lib, | ||
191 | }; | ||
192 | |||
193 | static struct iwl_base_params iwl1000_base_params = { | 186 | static struct iwl_base_params iwl1000_base_params = { |
194 | .num_of_queues = IWLAGN_NUM_QUEUES, | 187 | .num_of_queues = IWLAGN_NUM_QUEUES, |
195 | .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES, | 188 | .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES, |
@@ -217,7 +210,7 @@ static struct iwl_ht_params iwl1000_ht_params = { | |||
217 | .ucode_api_min = IWL1000_UCODE_API_MIN, \ | 210 | .ucode_api_min = IWL1000_UCODE_API_MIN, \ |
218 | .eeprom_ver = EEPROM_1000_EEPROM_VERSION, \ | 211 | .eeprom_ver = EEPROM_1000_EEPROM_VERSION, \ |
219 | .eeprom_calib_ver = EEPROM_1000_TX_POWER_VERSION, \ | 212 | .eeprom_calib_ver = EEPROM_1000_TX_POWER_VERSION, \ |
220 | .ops = &iwl1000_ops, \ | 213 | .lib = &iwl1000_lib, \ |
221 | .base_params = &iwl1000_base_params, \ | 214 | .base_params = &iwl1000_base_params, \ |
222 | .led_mode = IWL_LED_BLINK | 215 | .led_mode = IWL_LED_BLINK |
223 | 216 | ||
@@ -238,7 +231,7 @@ struct iwl_cfg iwl1000_bg_cfg = { | |||
238 | .ucode_api_min = IWL100_UCODE_API_MIN, \ | 231 | .ucode_api_min = IWL100_UCODE_API_MIN, \ |
239 | .eeprom_ver = EEPROM_1000_EEPROM_VERSION, \ | 232 | .eeprom_ver = EEPROM_1000_EEPROM_VERSION, \ |
240 | .eeprom_calib_ver = EEPROM_1000_TX_POWER_VERSION, \ | 233 | .eeprom_calib_ver = EEPROM_1000_TX_POWER_VERSION, \ |
241 | .ops = &iwl1000_ops, \ | 234 | .lib = &iwl1000_lib, \ |
242 | .base_params = &iwl1000_base_params, \ | 235 | .base_params = &iwl1000_base_params, \ |
243 | .led_mode = IWL_LED_RF_STATE, \ | 236 | .led_mode = IWL_LED_RF_STATE, \ |
244 | .rx_with_siso_diversity = true | 237 | .rx_with_siso_diversity = true |