]> 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)
commit2c9581e816f8ddb56d7f0849f10350885ef0776f
tree0175a3a278b3b4776e398a4b171ddd2dfc86068d
parentbd7cbb1714a5167591909733ddc96de2a66af40b
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: ed0ebb67c6be ("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