# HG changeset patch # User Florian Pose # Date 1325681868 -3600 # Node ID d91edc7b3f93b9fcee61921085c55895e7dcc928 # Parent 7d031aefaf96284bfb58e077fe18369f69add8c0 Minor changes. diff -r 7d031aefaf96 -r d91edc7b3f93 devices/r8169-2.6.33-ethercat.c --- a/devices/r8169-2.6.33-ethercat.c Wed Jan 04 14:04:24 2012 +0100 +++ b/devices/r8169-2.6.33-ethercat.c Wed Jan 04 13:57:48 2012 +0100 @@ -3233,6 +3233,7 @@ RTL_W16(CPlusCmd, RTL_R16(CPlusCmd) | RxVlan); device_set_wakeup_enable(&pdev->dev, tp->features & RTL_FEATURE_WOL); + if (tp->ecdev && ecdev_open(tp->ecdev)) { ecdev_withdraw(tp->ecdev); goto err_out_msi_5; @@ -4783,7 +4784,6 @@ netif_stop_queue(dev); napi_disable(&tp->napi); - } core_down: