ath10k: abort incomplete scatter-gather pci tx properly
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 26 May 2014 10:02:59 +0000 (12:02 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 May 2014 09:32:10 +0000 (12:32 +0300)
commit08b8aa0931830cc4b96b47f884fe623aef5c4b84
tree89d93b2cabc0642aa6db31bc12083084f82ef0c7
parent7147a13135ee717397969d33a139204dfe793022
ath10k: abort incomplete scatter-gather pci tx properly

This prevents leaving incomplete scatter-gather
transfer on CE rings which can lead firmware to
crash.

Reported-By: Avery Pennarun <apenwarr@gmail.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ce.c
drivers/net/wireless/ath/ath10k/ce.h
drivers/net/wireless/ath/ath10k/pci.c