diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-06-03 18:54:14 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-03 23:16:37 +0400 |
commit | c2b821d7a59e5d6b53c906d0a8fecc68e2aee540 (patch) | |
tree | aeee9c58e0b6df306409ca82ab6b393b4b669b1d /drivers/net/wireless/iwlwifi/iwl-scan.c | |
parent | 15b3f3b006b42a678523cad989bfd60b76bf4403 (diff) | |
download | linux-c2b821d7a59e5d6b53c906d0a8fecc68e2aee540.tar.xz |
iwlagn: move all post scan functions in one place
Both tx power and power save are being done after scan complete, move into
post_scan function
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-scan.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index d60d630cb93a..8c9af45c598b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c @@ -600,13 +600,6 @@ out_settings: if (!iwl_is_ready_rf(priv)) goto out; - /* - * We do not commit power settings while scan is pending, - * do it now if the settings changed. - */ - iwl_power_set_mode(priv, &priv->power_data.sleep_cmd_next, false); - iwl_set_tx_power(priv, priv->tx_power_next, false); - priv->cfg->ops->utils->post_scan(priv); out: |