Sfoglia il codice sorgente

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>
Ron Mercer 15 anni fa
parent
commit
8092886094
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 2 4
      drivers/net/qlge/qlge_main.c

+ 2 - 4
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);