Yingying Tang <yintang@xxxxxxxxxxxxxx> wrote: > 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@xxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 9e7251fa3897 ath10k: Check tx_stats before use it -- https://patchwork.kernel.org/patch/10926861/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches