Skip to content

Commit

Permalink
ath9k: remove a redundant call to pcipowersave
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mohammed Shafi Shajakhan authored and John W. Linville committed Jun 17, 2011
1 parent a6f0f04 commit d3af439
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit d3af439

Please sign in to comment.