Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
- Loading branch information