1
0
Fork 0

cxgb4vf: Fail open if link_start() fails.

Fail open if link_start() fails.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
wifi-calibration
Casey Leedom 2010-11-11 09:06:52 +00:00 committed by David S. Miller
parent 8b6edf878a
commit e7a3795f56
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}