]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5777f99f7c143db6e6f5ca1b325645e7b10ccfae
tree89d93b2cabc0642aa6db31bc12083084f82ef0c7
parent2d88f4e48bfeae12c4e643ac9294808f094c8993
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