]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: flush hif buffers before recovery
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 22 Aug 2014 12:33:18 +0000 (14:33 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 25 Aug 2014 08:32:28 +0000 (11:32 +0300)
commit4578c0c29c083c227236b6d2b794c9b2425ede6c
treea6f407a398b62adc14c65edf663baa1f763b8741
parent21eaf3976a5ae39a79da6e89a78206f6a0867912
ath10k: flush hif buffers before recovery

Transport buffers weren't flushed and processed
before queueing hw recovery request to mac80211.

This could in theory result in an unwanted htt/wmi
rx events being processed while mac80211 recovers
the device and possibly interfere or even crash
the system.

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