mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
cxgb4vf: Fail open if link_start() fails.
Fail open if link_start() fails. Signed-off-by: Casey Leedom <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
8b6edf878a
commit
e7a3795f56
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue