iwlwifi: check ucode loading error and restart
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 15 Jan 2011 01:48:06 +0000 (17:48 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 31 Jan 2011 21:17:28 +0000 (13:17 -0800)
commit10480b056662dc9595850598f0bbc5a16a4884f4
tree5cb9859f901cc2aae2829e2a8db73a9ee50aaecc
parent78d12c237ca2e32ac6570b161d2137b5288c5511
iwlwifi: check ucode loading error and restart

Driver check alive message from ucode, if it is not ok, then need
to restart the loading process. instead of checking multiple places
for failure, only need to check in once place when receive alive
message from uCode.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-4965.c
drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
drivers/net/wireless/iwlwifi/iwl-agn.c