summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/htc.c
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2013-07-22 14:13:29 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2013-07-30 18:01:21 +0300
commit21bf9112b596cb91e4f63de859ea514f081031fd (patch)
tree84090ed11125f41495f252cb5b1bf8e14a10a895 /drivers/net/wireless/ath/ath10k/htc.c
parent08fe9b40d055d4ace995a5e1e93c7c17573f17a5 (diff)
downloadlinux-21bf9112b596cb91e4f63de859ea514f081031fd.tar.bz2
ath10k: don't reset HTC endpoints unnecessarily
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/htc.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/htc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htc.c b/drivers/net/wireless/ath/ath10k/htc.c
index 47b7752656f7..ef3329ef52f3 100644
--- a/drivers/net/wireless/ath/ath10k/htc.c
+++ b/drivers/net/wireless/ath/ath10k/htc.c
@@ -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 */