Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7a3795f authored by Casey Leedom's avatar Casey Leedom Committed by David S. Miller
Browse files

cxgb4vf: Fail open if link_start() fails.



Fail open if link_start() fails.

Signed-off-by: default avatarCasey Leedom <leedom@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8b6edf87
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -753,7 +753,9 @@ static int cxgb4vf_open(struct net_device *dev)
	if (err)
		return err;
	set_bit(pi->port_id, &adapter->open_device_map);
	link_start(dev);
	err = link_start(dev);
	if (err)
		return err;
	netif_tx_start_all_queues(dev);
	return 0;
}