ath10k: poll HTT send completion when CE 5 is unused
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Wed, 11 Nov 2015 12:01:26 +0000 (17:31 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 16 Nov 2015 19:40:53 +0000 (21:40 +0200)
commit6419fdbb6f90e147690f8833cba59d289d613da5
treed8ebdc379ff5146cb8ce0621dd2a184234935a7f
parent23ba8a66234943e0b41c13ef7ca1088cf8488025
ath10k: poll HTT send completion when CE 5 is unused

commit a70587b3389a ("ath10k: configure copy engine 5 for HTT messages")
moved send completion polling under HTT Rx (CE 5) service routine. For
QCA6174 based devices copy engine 1 (CE 1) is used for HTT Rx instead
of CE 5. So send completion never be called. This is causing "failed to
transmit packet, dropping: -105" errors. Fix this by processing send
completion from CE 1 service routine instead of CE 5.

Fixes: a70587b3389a ("ath10k: configure copy engine 5 for HTT messages")
Tested-by: Ryan Hsu <ryanhsu@qca.qualcomm.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c