]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Nov 2015 22:37:30 +0000 (14:37 -0800)
commit6bad4a2190270da0dcb6092c362b53e55a209353
tree2e70fb54afeeedd26a59db3ee68fa7c845b56ee6
parentd92a04a5c1fdf51adb136b80516de9a0e7f2d003
iwlwifi: mvm: init card correctly on ctkill exit check

commit 1a3fe0b2b6778b7866e2b3f5c9a299d5e9bbd89c upstream.

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")
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/mvm/fw.c
drivers/net/wireless/iwlwifi/mvm/mvm.h