]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: simplify ucode check code
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2011 16:41:55 +0000 (09:41 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:51:36 +0000 (15:51 -0400)
commitf7a6b32e3828ffd1a0b651c1648f841234093272
treeb2c165d6d4e0b30d8d276aa05dcc6eefa2446587
parent4d942884b1c8c23e3c80b1902e9c454b4996e896
iwlagn: simplify ucode check code

The code in iwlcore_verify_inst_sparse really
doesn't need to keep track of the number of
errors it encountered since a single one is
fatal.

Also, the code in iwl_verify_inst_full is just
used to print out some things, so rename it to
iwl_print_inst and don't give it a return code
and just make it print out the values.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-ucode.c