ath10k: refactor suspend/resume functions
authorMarek Puzyniak <marek.puzyniak@tieto.com>
Mon, 10 Feb 2014 16:14:23 +0000 (17:14 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Feb 2014 15:24:01 +0000 (17:24 +0200)
Suspend/resume callbacks are not protected by configuration mutex
so adding such protection. Also in order to simplify implemetation
of suspend function wait queue is replaced by completion.

Signed-off-by: Marek Puzyniak <marek.puzyniak@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>

No differences found