iwlwifi: check RF kill register when interrupts have been disabled
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 28 Mar 2012 08:34:02 +0000 (10:34 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 23 Apr 2012 21:19:31 +0000 (14:19 -0700)
commitd23f78e61f6b37159df6bfce7023500d731f61f3
tree90c804e06178720d26db180479170c8da0648c7a
parent226c02ca7fd182b24599d205820e159b0e7bc405
iwlwifi: check RF kill register when interrupts have been disabled

Since the interrupts have been disabled, we may have missed an RF
kill interrupt. Check the register to be sure the op_mode is in
sync.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c