]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: remove redundant condition in iwl_mvm_set_hw_rfkill_state
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 21 May 2019 19:13:10 +0000 (22:13 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:10 +0000 (15:31 +0300)
commite6c0451c1785979aae32fca5bdf214dc257c5171
tree63ae14a6e206ad6c936bb5124b0f9bf96a20fddd
parent6f63666b9afc3d025c5fb8ff1a546cb791f8fd5b
iwlwifi: mvm: remove redundant condition in iwl_mvm_set_hw_rfkill_state

If mvm->fwrt.cur_fw_img != IWL_UCODE_INIT, then
rfkill_safe_init_done must be true since
rfkill_safe_init_done is set to true before we start to load
the runtime image.
Remove the redundant condition.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/ops.c