ath9k_htc: Remove unnecessary powersave restore
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 26 Apr 2010 09:39:36 +0000 (15:09 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Apr 2010 20:09:15 +0000 (16:09 -0400)
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_main.c

index 9c9f3e0d6787690d355b7ef040e34069e0948238..644776a51ac0138b986e3b86ffe67f1b48a9be97 100644 (file)
@@ -153,7 +153,6 @@ static int ath9k_htc_set_channel(struct ath9k_htc_priv *priv,
                ath_print(common, ATH_DBG_FATAL,
                          "Unable to reset channel (%u Mhz) "
                          "reset status %d\n", channel->center_freq, ret);
-               ath9k_htc_ps_restore(priv);
                goto err;
        }