Skip to content

Commit

Permalink
qlge: Don't fail open when port is not initialized.
Browse files Browse the repository at this point in the history
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ron Mercer authored and David S. Miller committed Oct 12, 2009
1 parent fda9b77 commit 8092886
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/net/qlge/qlge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3311,10 +3311,8 @@ static int ql_adapter_initialize(struct ql_adapter *qdev)

/* Initialize the port and set the max framesize. */
status = qdev->nic_ops->port_initialize(qdev);
if (status) {
QPRINTK(qdev, IFUP, ERR, "Failed to start port.\n");
return status;
}
if (status)
QPRINTK(qdev, IFUP, ERR, "Failed to start port.\n");

/* Set up the MAC address and frame routing filter. */
status = ql_cam_route_initialize(qdev);
Expand Down

0 comments on commit 8092886

Please sign in to comment.