mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
qlge: Don't fail open when port is not initialized.
commit 8092886094 upstream.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
836750ba49
commit
6055e7f7db
@@ -3310,10 +3310,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);
|
||||
|
||||
Reference in New Issue
Block a user