brcmfmac: add "reset" debugfs entry for testing reset
authorRafał Miłecki <rafal@milecki.pl>
Sun, 1 Sep 2019 11:34:36 +0000 (13:34 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 6 Sep 2019 14:08:57 +0000 (17:08 +0300)
commit2f8c8e62cd50d72ac68de884a09c6f5a969a269c
tree8080fdb607aa1eaa5abeedc035e703439e3e0091
parentcb34212b1c25f7656a315f956d72696777e88340
brcmfmac: add "reset" debugfs entry for testing reset

This is a trivial debugfs entry for triggering reset just like in case
of firmware crash. It works by writing 1 to it:
echo 1 > reset

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c