]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: make iwlagn_wait_notification return error code
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Apr 2011 10:14:48 +0000 (03:14 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 22 Apr 2011 17:02:55 +0000 (10:02 -0700)
commitbbef3d289640f66f6a44ff2499a7f229f2770817
tree13216e202f8d78d178174f46c7fa8654422b6c9e
parentc052405cbf35c167b54585d4b71256f75fe4a39d
iwlagn: make iwlagn_wait_notification return error code

We're unlikely to care about the actual time spent
waiting, so make the function return an error code
which is less error prone in coding new uses.

Also, while at it, mark __must_check.

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-agn-lib.c
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
drivers/net/wireless/iwlwifi/iwl-agn.h