diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-10-30 12:31:41 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-31 12:06:09 -0400 |
commit | 0daf7d9605352d4f0c5575a897dd71787ea92b9c (patch) | |
tree | 5a20dae87f352cd86f23e1beffbd3a107fcad0fa /drivers | |
parent | f946b529502399d09471c5d13845fefbfe8555a6 (diff) |
iwlwifi: don't call stop_device twice
When we unregister from mac80211 it will down the device anyway.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/main.c b/drivers/net/wireless/iwlwifi/dvm/main.c index 2b50d11720d4..4547f36bcc6c 100644 --- a/drivers/net/wireless/iwlwifi/dvm/main.c +++ b/drivers/net/wireless/iwlwifi/dvm/main.c | |||
@@ -1507,10 +1507,6 @@ static void iwl_op_mode_dvm_stop(struct iwl_op_mode *op_mode) | |||
1507 | 1507 | ||
1508 | iwl_tt_exit(priv); | 1508 | iwl_tt_exit(priv); |
1509 | 1509 | ||
1510 | /*This will stop the queues, move the device to low power state */ | ||
1511 | priv->ucode_loaded = false; | ||
1512 | iwl_trans_stop_device(priv->trans); | ||
1513 | |||
1514 | kfree(priv->eeprom_blob); | 1510 | kfree(priv->eeprom_blob); |
1515 | iwl_free_eeprom_data(priv->eeprom_data); | 1511 | iwl_free_eeprom_data(priv->eeprom_data); |
1516 | 1512 | ||