Commit 3fb7d3d2 authored by François Romieu's avatar François Romieu Committed by David S. Miller

[IRDA]: In stir4200 driver, defer netif_start_queue() until device opening succeeds.

parent 38362491
......@@ -950,8 +950,6 @@ static int stir_net_open(struct net_device *netdev)
}
}
netif_start_queue(netdev);
/*
* Now that everything should be initialized properly,
* Open new IrLAP layer instance to take care of us...
......@@ -974,6 +972,8 @@ static int stir_net_open(struct net_device *netdev)
goto err_out4;
}
netif_start_queue(netdev);
return 0;
err_out4:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment