commit | 334f5b61a6f29834e881923b98d1e27e5ce9620d | [log] [tgz] |
---|---|---|
author | Wenwen Wang <wenwen@cs.uga.edu> | Thu Aug 15 16:04:31 2019 -0500 |
committer | Kalle Valo <kvalo@codeaurora.org> | Tue Sep 17 17:11:12 2019 +0300 |
tree | 4d3289065c34d0a0034dd60333a2532a16cdedbd | |
parent | c41305993ff5a399775da54232b30ff2d6c9576e [diff] |
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: Wenwen Wang <wenwen@cs.uga.edu> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>