summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/swap.h
diff options
context:
space:
mode:
authorYingying Tang <yintang@codeaurora.org>2019-05-02 21:36:50 +0800
committerKalle Valo <kvalo@codeaurora.org>2019-05-07 17:03:47 +0300
commit9e7251fa38978b85108c44743e1436d48e8d0d76 (patch)
treea6ad160e5b8f3372eca3442a8a6551a731dcc1ad /drivers/net/wireless/ath/ath10k/swap.h
parent49ed34b835e231aa941257394716bc689bc98d9f (diff)
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: Yingying Tang <yintang@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/swap.h')
0 files changed, 0 insertions, 0 deletions