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>
This commit is contained in:
parent
fda9b77c10
commit
8092886094
1 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue