]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: pcie: don't service an interrupt that was masked
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 21 May 2019 12:10:38 +0000 (15:10 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 29 Jun 2019 07:14:33 +0000 (10:14 +0300)
commit3b57a10ca14c619707398dc58fe5ece18c95b20b
treeb95649e000931e26b3c0e7b54b1bfa1177cb4e2d
parented3e4c6d3cd8f093a3636cb05492429fe2af228d
iwlwifi: pcie: don't service an interrupt that was masked

Sometimes the register status can include interrupts that
were masked. We can, for example, get the RF-Kill bit set
in the interrupt status register although this interrupt
was masked. Then if we get the ALIVE interrupt (for example)
that was not masked, we need to *not* service the RF-Kill
interrupt.
Fix this in the MSI-X interrupt handler.

Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/rx.c