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 9c9f3e0..644776a 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;
        }