From: Ron Mercer Date: Sat, 10 Oct 2009 09:35:09 +0000 (+0000) Subject: qlge: Don't fail open when port is not initialized. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80928860941023bb37e9c61927395d0eb753bc3b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git qlge: Don't fail open when port is not initialized. Signed-off-by: Ron Mercer Signed-off-by: David S. Miller --- 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) /* 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);