ath9k: remove a redundant call to pcipowersave
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Wed, 15 Jun 2011 15:52:16 +0000 (21:22 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 17 Jun 2011 18:22:24 +0000 (14:22 -0400)
during suspend/resume ath9k_stop will always call ath_radio_disable
which will inturn call ath9k_hw_configpcipowersave, so no need to call
it explicitly in ath9k_stop

Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c

index e0e0e86..5ae303b 100644 (file)
@@ -1266,7 +1266,6 @@ static void ath9k_stop(struct ieee80211_hw *hw)
 
        /* disable HAL and put h/w to sleep */
        ath9k_hw_disable(ah);
-       ath9k_hw_configpcipowersave(ah, 1, 1);
 
        spin_unlock_bh(&sc->sc_pcu_lock);