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
|
@ -3311,10 +3311,8 @@ static int ql_adapter_initialize(struct ql_adapter *qdev)
|
||||||
|
|
||||||
/* Initialize the port and set the max framesize. */
|
/* Initialize the port and set the max framesize. */
|
||||||
status = qdev->nic_ops->port_initialize(qdev);
|
status = qdev->nic_ops->port_initialize(qdev);
|
||||||
if (status) {
|
if (status)
|
||||||
QPRINTK(qdev, IFUP, ERR, "Failed to start port.\n");
|
QPRINTK(qdev, IFUP, ERR, "Failed to start port.\n");
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Set up the MAC address and frame routing filter. */
|
/* Set up the MAC address and frame routing filter. */
|
||||||
status = ql_cam_route_initialize(qdev);
|
status = ql_cam_route_initialize(qdev);
|
||||||
|
|
Loading…
Reference in a new issue