OSDN Git Service

ath10k: perform hw restart lazily
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 26 May 2014 09:46:03 +0000 (12:46 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 May 2014 09:27:33 +0000 (12:27 +0300)
commitc5058f5b82f226b236dc5a65015152ed3c23efff
tree7ac9434df253e0dd7df885ccd07f8724afeea2b0
parentae254433a8dfaaf7983b39d87ce695a616d36163
ath10k: perform hw restart lazily

This reduces risk of races and prepares for more
hw restart fixes.

It also makes sense to perform teardown after
mac80211 starts its restart routine as it
guarantees it has stopped itself by then
(including tx queues).

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