iwlwifi: mvm: init card correctly on ctkill exit check
authorArik Nemtsov <arik@wizery.com>
Wed, 30 Sep 2015 08:19:55 +0000 (11:19 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 5 Oct 2015 11:02:07 +0000 (14:02 +0300)
commit1a3fe0b2b6778b7866e2b3f5c9a299d5e9bbd89c
tree77074d2910ff83fdaee5bb299d147e350d28c924
parentf08f625876476b6c4a87834dc86e3b927f4697d2
iwlwifi: mvm: init card correctly on ctkill exit check

During the CT-kill exit flow, the card is powered up and partially
initialized to check if the temperature is already low enough.
Unfortunately the init bails early because the CT-kill flag is set.
Make the code bail early only for HW RF-kill, as was intended by the
author. CT-kill is self-imposed and is not really RF-kill.

Fixes: 31b8b343e019 ("iwlwifi: fix RFkill while calibrating")
Cc: <stable@vger.kernel.org> [3.18+]
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw.c
drivers/net/wireless/iwlwifi/mvm/mvm.h