iwlwifi: first enable RF kill interrupt, then check register
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 28 Mar 2012 07:57:46 +0000 (09:57 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 23 Apr 2012 21:19:06 +0000 (14:19 -0700)
commit8c46bb703b28ea481c28bc77f2595b32d5dacea9
treed386cbc16317dea4b21ce03c74eedc9d63950b5a
parent8d425517f1f08f01a6171d22e05be62ef6ad93fc
iwlwifi: first enable RF kill interrupt, then check register

This can solve a race (very unlikely to happen though).

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