aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2009-10-10 05:35:09 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-12 02:16:17 -0400
commit80928860941023bb37e9c61927395d0eb753bc3b (patch)
treeecd8f4880cb7ab06a711701ab34fae8eed775602 /drivers
parentfda9b77c10a4db06e1431e6494a69e93a9dc5491 (diff)
qlge: Don't fail open when port is not initialized.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/qlge/qlge_main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
index 644077e7b549..817613919b51 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -3311,10 +3311,8 @@ static int ql_adapter_initialize(struct ql_adapter *qdev)
3311 3311
3312 /* Initialize the port and set the max framesize. */ 3312 /* Initialize the port and set the max framesize. */
3313 status = qdev->nic_ops->port_initialize(qdev); 3313 status = qdev->nic_ops->port_initialize(qdev);
3314 if (status) { 3314 if (status)
3315 QPRINTK(qdev, IFUP, ERR, "Failed to start port.\n"); 3315 QPRINTK(qdev, IFUP, ERR, "Failed to start port.\n");
3316 return status;
3317 }
3318 3316
3319 /* Set up the MAC address and frame routing filter. */ 3317 /* Set up the MAC address and frame routing filter. */
3320 status = ql_cam_route_initialize(qdev); 3318 status = ql_cam_route_initialize(qdev);