iwlwifi: provide proper API to disable all interrupts
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 31 Mar 2012 15:28:38 +0000 (08:28 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 23 Apr 2012 21:19:47 +0000 (14:19 -0700)
commit218733cf7d01fb6225e37a16818870d20c1d8771
treef5b2afb03ced78868a9cad0599a1fb6b0aa4f8bd
parentd23f78e61f6b37159df6bfce7023500d731f61f3
iwlwifi: provide proper API to disable all interrupts

Since the op_mode may go away, the transport needs to be able to
be told not to update the op_mode at all (even for RF kill).
Provide this API and use it in the proper places.

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-agn.c
drivers/net/wireless/iwlwifi/iwl-mac80211.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
drivers/net/wireless/iwlwifi/iwl-trans.h