]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mwifiex: debugfs: allow card_reset() to cancel things
authorBrian Norris <briannorris@chromium.org>
Tue, 25 Jul 2017 01:13:32 +0000 (18:13 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 14:47:53 +0000 (17:47 +0300)
commit37680819c6e1f5f22c171cd76d1ac093528fae56
treecd27f95edc7ce267e184109fee64c8c6ab472a6b
parent87a602126aaf1ecd52c2b70754a5a4b948b27903
mwifiex: debugfs: allow card_reset() to cancel things

The card_reset() implementation should be setting our state flags and
cancelling commands for us (i.e., in mwifiex_shutdown_drv()), so let's
not do it here.

Also, this debugfs file is useful for testing and debugging the reset
feature, so we shouldn't do extra preparatory steps here, as that might
cause different reset behavior, which could either cause new bugs or
paper over existing ones that this debug feature should otherwise help
us catch.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/debugfs.c