diff options
| author | Yingying Tang | 2019-05-02 15:36:50 +0200 |
|---|---|---|
| committer | Kalle Valo | 2019-05-07 16:03:47 +0200 |
| commit | 9e7251fa38978b85108c44743e1436d48e8d0d76 (patch) | |
| tree | a6ad160e5b8f3372eca3442a8a6551a731dcc1ad /drivers/hwmon/mlxreg-fan.c | |
| parent | ath10k: add peer id check in ath10k_peer_find_by_id (diff) | |
| download | kernel-qcow2-linux-9e7251fa38978b85108c44743e1436d48e8d0d76.tar.gz kernel-qcow2-linux-9e7251fa38978b85108c44743e1436d48e8d0d76.tar.xz kernel-qcow2-linux-9e7251fa38978b85108c44743e1436d48e8d0d76.zip | |
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/hwmon/mlxreg-fan.c')
0 files changed, 0 insertions, 0 deletions
