diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-01-08 12:37:59 +0100 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-02-02 23:36:42 +0100 |
commit | cc56feb2eb06a0a80a8f07e4adab7e6626009cca (patch) | |
tree | 8efc487255a526fa67bf20f9928fb167c6636416 /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | iwlwifi: move apm_init to start_hw (diff) | |
download | linux-cc56feb2eb06a0a80a8f07e4adab7e6626009cca.tar.xz linux-cc56feb2eb06a0a80a8f07e4adab7e6626009cca.zip |
iwlwifi: introduce trans_ops->stop_hw
This handler stops the HW and puts it in low power state.
It will allow to clean up the flows in the upper layers.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 3aeaa890e644..88462467a954 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c @@ -1839,7 +1839,7 @@ int iwl_probe(struct iwl_bus *bus, const struct iwl_trans_ops *trans_ops, /* Read the EEPROM */ err = iwl_eeprom_init(priv, hw_rev); /* Reset chip to save power until we load uCode during "up". */ - iwl_apm_stop(priv); + iwl_trans_stop_hw(trans(priv)); if (err) { IWL_ERR(priv, "Unable to init EEPROM\n"); goto out_free_traffic_mem; |