]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
iwlagn: introduce silent grabbing of NIC access
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Apr 2011 14:42:03 +0000 (07:42 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 30 Apr 2011 15:39:22 +0000 (08:39 -0700)
commit4119904f3ebf30c25afb42195740f9ee5dc7749c
tree0ed756ad1cbd947db9c969b231a0a466b624e83c
parent9d39e5bad76a8830a8fa0c03cadc1e36ce2ec2ef
iwlagn: introduce silent grabbing of NIC access

There are a few cases like the WoWLAN support
I'm writing that require attempting to access
the NIC when it is known that it might not be
accessible, e.g. after the system woke up and
the platform might have reset the device.

To avoid messages in this case, introduce the
new function iwl_grab_nic_access_silent(), it
will only return an error status.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-io.c
drivers/net/wireless/iwlwifi/iwl-io.h