]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit84f260251ed8153e84c64eb2c5278ab18d3ddef6
tree0175a3a278b3b4776e398a4b171ddd2dfc86068d
parent38bd7e58cf414d364df8c024314e2db0ce083918
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: f45f979dc208 ("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