Sowmiya Sree Elavalagan <ssreeela@xxxxxxxxxxxxxx> wrote: > htt stats are not working after htt peer stats display > and also after htt peer stats reset. Trying to dump htt > stats shows "Resource temporarily unavailable". > This is because of "ar->debug.htt_stats.stats_req" member is being > consecutively used for all htt stats without being reset > during the previous usage. Hence assigning NULL to this member > after freeing the allocated memory fixes the issue. > > console logs below: > # echo 9 >/sys/kernel/debug/ath11k/ipq8074/mac1/htt_stats_type > # cat /sys/kernel/debug/ath11k/ipq8074/mac1/htt_stats_type > 9 > # cat /sys/kernel/debug/ath11k/ipq8074/mac1/htt_stats > cat: can't open '/sys/kernel/debug/ath11k/ipq8074/mac1/htt_stats' > : Resource temporarily unavailable > > Signed-off-by: Sowmiya Sree Elavalagan <ssreeela@xxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 52f274b51993 ath11k: fix resource unavailability for htt stats after peer stats display -- https://patchwork.kernel.org/patch/11525557/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches