ath10k: change ce ring cleanup logic
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 28 Oct 2014 09:32:05 +0000 (10:32 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 31 Oct 2014 00:26:48 +0000 (02:26 +0200)
commit099ac7ce2e23cc19382afbd3c192f2c6925851b9
tree37cbcb2766223406b2efb44e59c0781b7a07d2cd
parent4eb2e164872a086f42fb9fe5dfe93856ad740932
ath10k: change ce ring cleanup logic

Make ath10k_pci_init_pipes() effectively only
alter shared target-host data.

The per_transfer_context is a host-only thing.
It is necessary to preserve it's contents for a
more robust ring cleanup.

This is required for future warm reset fixes.

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/pci.c