Skip to content
Commit 334f5b61 authored by Wenwen Wang's avatar Wenwen Wang Committed by Kalle Valo
Browse files

ath10k: add cleanup in ath10k_sta_state()



If 'sta->tdls' is false, no cleanup is executed, leading to memory/resource
leaks, e.g., 'arsta->tx_stats'. To fix this issue, perform cleanup before
go to the 'exit' label.

Signed-off-by: default avatarWenwen Wang <wenwen@cs.uga.edu>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent c4130599
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment