1 From: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
2 Date: Fri, 23 Oct 2015 18:01:04 +0530
3 Subject: [PATCH] ath10k: remove send completion validation in diag
6 CE diag window access is serialized (it has to be by design) so
7 there's no way to get a different send completion. so there's no
8 need for post completion validation.
10 Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
11 Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
14 --- a/drivers/net/wireless/ath/ath10k/pci.c
15 +++ b/drivers/net/wireless/ath/ath10k/pci.c
16 @@ -920,16 +920,6 @@ static int ath10k_pci_diag_read_mem(stru
20 - if (nbytes != completed_nbytes) {
25 - if (buf != (u32)address) {
31 while (ath10k_ce_completed_recv_next_nolock(ce_diag, NULL, &buf,
33 @@ -1094,16 +1084,6 @@ static int ath10k_pci_diag_write_mem(str
37 - if (nbytes != completed_nbytes) {
42 - if (buf != ce_data) {
48 while (ath10k_ce_completed_recv_next_nolock(ce_diag, NULL, &buf,