Skip to content

Commit

Permalink
iwlwifi: don't call stop_device twice
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emmanuel Grumbach authored and Johannes Berg committed Oct 31, 2012
1 parent f946b52 commit 0daf7d9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/wireless/iwlwifi/dvm/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1507,10 +1507,6 @@ static void iwl_op_mode_dvm_stop(struct iwl_op_mode *op_mode)

iwl_tt_exit(priv);

/*This will stop the queues, move the device to low power state */
priv->ucode_loaded = false;
iwl_trans_stop_device(priv->trans);

kfree(priv->eeprom_blob);
iwl_free_eeprom_data(priv->eeprom_data);

Expand Down

0 comments on commit 0daf7d9

Please sign in to comment.