iwlwifi: always check that grab_nic_access succeeds
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 31 Dec 2012 11:46:42 +0000 (13:46 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 14:34:11 +0000 (15:34 +0100)
commitabae2386d55aff1d395cdb665f03684c227a6a69
treedfa4d78c306f6a17d7c6b170531b760c17055af4
parentc8f9b0feab564e1ecf460b440e838673aced282c
iwlwifi: always check that grab_nic_access succeeds

This allows to let sparse check that the NIC access is
always released.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/main.c
drivers/net/wireless/iwlwifi/dvm/tt.c
drivers/net/wireless/iwlwifi/iwl-io.c
drivers/net/wireless/iwlwifi/iwl-test.c
drivers/net/wireless/iwlwifi/iwl-trans.h
drivers/net/wireless/iwlwifi/pcie/trans.c