ath10k: make monitor vdev down before stoping it
authorMarek Puzyniak <marek.puzyniak@tieto.com>
Tue, 24 Sep 2013 12:06:24 +0000 (14:06 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 26 Sep 2013 14:30:24 +0000 (17:30 +0300)
commit52fa019155329898f564f9f0264159728d263271
treefe69358696209852a36cdf97398d19007d43ab6e
parent6e712d427cb0542afdd5220edb6e4f4f8a5b952d
ath10k: make monitor vdev down before stoping it

Following sequence causes FW crash:
-monitor vdev up,
-monitor vdev stop,
-monitor vdev delete.
Making monitor vdev down before stoping it works ok:
-monitor vdev up,
-monitor vdev down,
-monitor vdev stop,
-monitor vdev delete.

Signed-off-by: Marek Puzyniak <marek.puzyniak@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c