iwl3945: check ucode load error code
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Fri, 26 Feb 2010 23:17:01 +0000 (15:17 -0800)
committerReinette Chatre <reinette.chatre@intel.com>
Wed, 10 Mar 2010 00:13:25 +0000 (16:13 -0800)
commit75a9a92625a7d7401d04209f4226061cd2674b59
treeb6f4e3ae5d5b3ec683569bb4c9a89cfc9af0801a
parentedc1a3a090e83c48d4b33c23aa16c54b3b790ef5
iwl3945: check ucode load error code

Check successful completion of BSM loading. Give a chance to
load BSM again. If BSM loading is unsuccessful we should exit
and not initilize NIC. Before this checking even if the BSM loading failed
driver tries to initilize the NIC which should not be the case.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c