]> asedeno.scripts.mit.edu Git - linux.git/commit
ath10k: fix potential issue of peer stats allocation
authorZhi Chen <zhichen@codeaurora.org>
Wed, 6 Nov 2019 18:04:42 +0000 (20:04 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Nov 2019 08:44:17 +0000 (10:44 +0200)
commit402838a05def2e23736cec834752f3edcc38dda7
tree3bea27de6b7218d5f831da928bd7f6b728a52bd2
parent05a11003a56507023f18d3249a4d4d119c0a3e9c
ath10k: fix potential issue of peer stats allocation

STA number was not restored if OOM happened.

Tested: QCA9984 with firmware ver 10.4-3.9.0.1-00018
Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c