diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-10-10 09:35:09 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-01-28 15:01:44 -0800 |
commit | 6055e7f7db45d4488608c47904d84b140eee8639 (patch) | |
tree | 62ef8f1a51e81764bbecbc5aa51754e43a481084 /drivers/net/qlge | |
parent | 836750ba4928d6af719bedcd338fe471fd440c6a (diff) | |
download | lwn-6055e7f7db45d4488608c47904d84b140eee8639.tar.gz lwn-6055e7f7db45d4488608c47904d84b140eee8639.zip |
qlge: Don't fail open when port is not initialized.
commit 80928860941023bb37e9c61927395d0eb753bc3b 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>
Diffstat (limited to 'drivers/net/qlge')
-rw-r--r-- | drivers/net/qlge/qlge_main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index 0c6ceecfd547..f42ff310ce5d 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c @@ -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); |