]> 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)
commitb2ac9a31c8efaecebe5f874b9cb902eb63dd9a6a
tree477dc41c20fa45997211ac0d28087ac1873d2cd5
parent0a78d1aefc459e8e41d69160e94af327bd9da378
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: a0c940603d39 ("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