ath10k: don't reset HTC endpoints unnecessarily
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 22 Jul 2013 12:13:29 +0000 (14:13 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 30 Jul 2013 15:01:21 +0000 (18:01 +0300)
Endpoints are re-initialized upon HTC start anyway
so there's no need to do that twice in case of
restarting HTC (i.e. in case of hardware
recovery).

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htc.c

index 47b7752656f740b384549fc95b3199787d23a9cd..ef3329ef52f369f0b65a7fd2e830ab07d99c573b 100644 (file)
@@ -958,7 +958,6 @@ void ath10k_htc_stop(struct ath10k_htc *htc)
        }
 
        ath10k_hif_stop(htc->ar);
-       ath10k_htc_reset_endpoint_states(htc);
 }
 
 /* registered target arrival callback from the HIF layer */