]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: don't attempt debug collection in rfkill
authorJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2019 13:11:52 +0000 (14:11 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 18 Apr 2019 11:07:39 +0000 (14:07 +0300)
commit98fd9291def6cec7be3cc6e9166ff78c950c4cac
tree477dc41c20fa45997211ac0d28087ac1873d2cd5
parent6157c50d82d7bf701083de8b9f521451f938da3c
iwlwifi: mvm: don't attempt debug collection in rfkill

If we fail to initialize because rfkill is enabled, then trying
to do debug collection currently just fails. Prevent that in the
high-level code, although we should probably also fix the lower
level code to do things more carefully.

It's not 100% clear that it fixes this commit, as the original
dump code at the time might've been more careful. In any case,
we don't really need to dump anything in this expected scenario.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Fixes: 3425b8f44870 ("iwlwifi: add fw dump upon RT ucode start failure")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c