diff mbox series

ath11k: fix extended stats update issue

Message ID 1560832537-22777-1-git-send-email-periyasa@codeaurora.org (mailing list archive)
State Rejected
Delegated to: Kalle Valo
Headers show
Series ath11k: fix extended stats update issue | expand

Commit Message

Karthikeyan periyasamy June 18, 2019, 4:35 a.m. UTC
user not able to see the valid tx stats. htt stats update
process get failed due to the wrong argument pass to
ath11k_get_ar_by_pdev_id API. Expected argument is pdev_id not
the pdev index. so avoid the conversion logic of pdev id to pdev
index in htt stats update process.

Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/dp_rx.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Kalle Valo June 20, 2019, 1:49 p.m. UTC | #1
Karthikeyan Periyasamy <periyasa@codeaurora.org> wrote:

> user not able to see the valid tx stats. htt stats update
> process get failed due to the wrong argument pass to
> ath11k_get_ar_by_pdev_id API. Expected argument is pdev_id not
> the pdev index. so avoid the conversion logic of pdev id to pdev
> index in htt stats update process.
> 
> Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>

This was already applied, right?

error: patch failed: drivers/net/wireless/ath/ath11k/dp_rx.c:1294
error: drivers/net/wireless/ath/ath11k/dp_rx.c: patch does not apply
stg import: Diff does not apply cleanly

Patch set to Rejected.
Karthikeyan periyasamy June 20, 2019, 1:59 p.m. UTC | #2
On 2019-06-20 19:19, Kalle Valo wrote:
> Karthikeyan Periyasamy <periyasa@codeaurora.org> wrote:
> 
>> user not able to see the valid tx stats. htt stats update
>> process get failed due to the wrong argument pass to
>> ath11k_get_ar_by_pdev_id API. Expected argument is pdev_id not
>> the pdev index. so avoid the conversion logic of pdev id to pdev
>> index in htt stats update process.
>> 
>> Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
> 
> This was already applied, right?

Yes, Its already applied

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=ath11k-bringup&id=b24d6461d9cf254e512a91ca430be59e70da0d5d


> 
> error: patch failed: drivers/net/wireless/ath/ath11k/dp_rx.c:1294
> error: drivers/net/wireless/ath/ath11k/dp_rx.c: patch does not apply
> stg import: Diff does not apply cleanly
> 
> Patch set to Rejected.
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c
index 1d9892e..971c437 100644
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
@@ -1294,7 +1294,6 @@  static int ath11k_htt_pull_ppdu_stats(struct ath11k_base *ab,
 
 	len = FIELD_GET(HTT_T2H_PPDU_STATS_PAYLOAD_SIZE_M, *(u32 *)data);
 	pdev_id = FIELD_GET(HTT_T2H_PPDU_STATS_PDEV_ID_M, *(u32 *)data);
-	pdev_id = DP_HW2SW_MACID(pdev_id);
 	ppdu_id = *((u32 *)data + 1);
 
 	rcu_read_lock();