• Brian Norris's avatar
    mwifiex: debugfs: allow card_reset() to cancel things · 37680819
    Brian Norris authored
    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: default avatarBrian Norris <briannorris@chromium.org>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    37680819
debugfs.c 27.3 KB