ath11k: Cleanup in pdev destroy and mac register during crash on recovery
authorMaharaja Kennadyrajan <mkenna@codeaurora.org>
Fri, 10 Apr 2020 17:06:43 +0000 (22:36 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 15 Apr 2020 07:56:59 +0000 (10:56 +0300)
commit6fc3b94ef5964736408cd4f8e85a816dcf1dd510
tree35b0015a81c43d06f4df45b9e64584123346d2da
parent67f373122bcc5ee1b7b60e3c726b25f8e205da6b
ath11k: Cleanup in pdev destroy and mac register during crash on recovery

Debugfs pdev entries should be cleaned up during the crash
on recovery. If not, mac register will fail for the reason
that it is already registered during core reconfigure.

Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1586538405-16226-1-git-send-email-mkenna@codeaurora.org
drivers/net/wireless/ath/ath11k/debug.c
drivers/net/wireless/ath/ath11k/mac.c