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 17:45:45 +0000 (18:45 +0100)
commit75de80e11e6b4fd410ddae418d3f2fe33a687482
tree06971b466c306daa393d8f735bb2c7c19e16465f
parentecedae02e89d7118c21d826b8026905d779bc725
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