]> asedeno.scripts.mit.edu Git - linux.git/commit
ath10k: fix unconditional num_mpdus_ready subtraction
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Thu, 7 Apr 2016 06:37:31 +0000 (12:07 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 7 Apr 2016 15:49:55 +0000 (18:49 +0300)
commit689de38e37179c6f524dd003e1dae92042f8f5cd
tree1502cb07919605432b61a6ba33e5e52785a64b05
parentdd7c280f9bf5ee6c7c46f03b2064f9f8fb617183
ath10k: fix unconditional num_mpdus_ready subtraction

Decrement num_mpdus_ready only when rx amsdu is processed successfully.
Not doing so, will result in leak and impact stabilty under low memory
cases. Also commit 3128b3d8a2b9 ("ath10k: speedup htt rx descriptor
processing for rx_ind") missed to removed unused skb list rx_q.

Fixes: 3128b3d8a2b9 ("ath10k: speedup htt rx descriptor processing for rx_ind")
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_rx.c