diff options
Diffstat (limited to 'drivers/net/netxen/netxen_nic_main.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index de67e42a2971..008657423f8e 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -754,8 +754,10 @@ netxen_start_firmware(struct netxen_adapter *adapter, int request_fw) | |||
754 | netxen_request_firmware(adapter); | 754 | netxen_request_firmware(adapter); |
755 | 755 | ||
756 | err = netxen_need_fw_reset(adapter); | 756 | err = netxen_need_fw_reset(adapter); |
757 | if (err <= 0) | 757 | if (err < 0) |
758 | return err; | 758 | return err; |
759 | if (err == 0) | ||
760 | goto wait_init; | ||
759 | 761 | ||
760 | if (first_boot != 0x55555555) { | 762 | if (first_boot != 0x55555555) { |
761 | NXWR32(adapter, CRB_CMDPEG_STATE, 0); | 763 | NXWR32(adapter, CRB_CMDPEG_STATE, 0); |