]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: handle symlink cleanup for per pdev debugfs dentry
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Tue, 11 Jun 2024 06:42:33 +0000 (09:42 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 11 Jun 2024 18:44:18 +0000 (21:44 +0300)
commit5a16da9cfb40d45e797df3ae1523ac64fe0b98ae
tree3958e0a76952f7ec73d89b07ecee169ea8b4a50b
parent4e1eff38d37a27328251ea47602703b811a028e1
wifi: ath12k: handle symlink cleanup for per pdev debugfs dentry

Whenever per pdev debugfs directory is created, a symlink to it is also
placed in ieee80211/phy* directory. During clean up of per pdev debugfs,
this symlink also needs to be cleaned up.

Add changes to clean up the symlink whenever the per pdev debugfs is
removed.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240529043043.2488031-4-quic_adisi@quicinc.com
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/debugfs.c