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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Nov 2019 16:59:45 +0000 (17:59 +0100)
commit4c337b4ff09fa549415409d8564af9559f9a28f9
treed795b33fbeba71576e8304703ad465050023ab32
parent5c3c4654ec1d5747026f8868474842f2e99869d1
iwlwifi: don't WARN on trying to dump dead firmware

[ Upstream commit 84f260251ed8153e84c64eb2c5278ab18d3ddef6 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c