]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: don't WARN on trying to dump dead firmware
authorJohannes Berg <johannes.berg@intel.com>
Thu, 19 Apr 2018 08:57:08 +0000 (10:57 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 31 Aug 2018 08:38:29 +0000 (11:38 +0300)
commit43b03c8c5f671eb29f5ec7cb69cbde46d6c1d56d
tree0175a3a278b3b4776e398a4b171ddd2dfc86068d
parent0b8b99163ea208c2a442cfd5bdedbdabff390303
iwlwifi: don't WARN on trying to dump dead firmware

There's no point in warning here, the user will just get an
error back to the debugfs file write, and warning just makes
it seem like there's an internal consistency problem when in
reality the user just happened to hit this at a bad time.
Remove the warning.

Fixes: 02ed41febbf8 ("iwlwifi: mvm: disable dbg data collect when fw isn't alive")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c