]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: fix resource leak in ath11k_mac_sta_state
authorKarthikeyan Periyasamy <periyasa@codeaurora.org>
Wed, 27 Nov 2019 16:29:47 +0000 (18:29 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 Nov 2019 07:34:54 +0000 (09:34 +0200)
commitcebcc27c155f1ebf4f1d48ebb014a22c8906ac3f
tree5ce51a4206969435441264ed19a956cf8f7b90a6
parent81f7cd325f14ab754ef9e1363deabae95c4999d9
ath11k: fix resource leak in ath11k_mac_sta_state

Handled the error case with proper resource cleanup and
moved the handling into a separate function from
ath11k_mac_sta_state.

Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/mac.c