Skip to content
Commit 9e7251fa authored by Yingying Tang's avatar Yingying Tang Committed by Kalle Valo
Browse files

ath10k: Check tx_stats before use it



tx_stats will be freed and set to NULL before debugfs_sta node is
removed in station disconnetion process. So if read the debugfs_sta
node there may be NULL pointer error. Add check for tx_stats before
use it to resove this issue.

Signed-off-by: default avatarYingying Tang <yintang@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 49ed34b8
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