iwlwifi: pcie: track interrupt mask in SW
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 09:09:47 +0000 (11:09 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 17 Dec 2013 20:32:58 +0000 (22:32 +0200)
commit2dbc368d7fded35ed221a3751405b15e06eb8925
tree7cec1772dcf841081f86d3042bf79de609df7ae7
parenteef31718ebfa6b56f9d32ff25110ede982abecdc
iwlwifi: pcie: track interrupt mask in SW

Track the interrupt mask in software, making it exactly
what is configured in the interrupt mask register in the
hardware.
This allows not to access the register from the interrupt
handler. This was the case for ICT interrupt already, but
not for non-ICT interrupt.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/internal.h
drivers/net/wireless/iwlwifi/pcie/rx.c