iwlwifi: mvm: consider RFKILL during INIT as success
authorLuca Coelho <luciano.coelho@intel.com>
Mon, 24 Jul 2017 11:47:52 +0000 (14:47 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Aug 2017 13:02:54 +0000 (16:02 +0300)
commit00e0c6c8fe8833acfebebf0af53b48a965084fd4
tree58933ec4856db6c932e9650b8bbadbc89cb78719
parent64511df45cbeec02670a83b666ff584dd1d767a2
iwlwifi: mvm: consider RFKILL during INIT as success

There's no need to differentiate an INIT that ended early because of
RFKILL from one that succeded.  Additionally, if INIT fails later,
during calibration, due to RFKILL, we can just return success and
continue as if we were already in RFKILL to start with.

Remove this unnecessary differentiation and do some other small
clean-ups while at it.

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