author | Florian Pose <fp@igh-essen.com> |
Wed, 04 Jan 2012 13:57:48 +0100 | |
changeset 2185 | bc08b092238d |
parent 2184 | 23d5d166d24e |
child 2186 | 064fe2a6835c |
--- a/devices/r8169-2.6.33-ethercat.c Wed Jan 04 12:35:31 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: