author | Florian Pose <fp@igh-essen.com> |
Wed, 04 Jan 2012 13:57:48 +0100 | |
branch | stable-1.5 |
changeset 2225 | a2a2f1a0d07b |
parent 2224 | 4f6670f083f1 |
child 2228 | 71ebc81c6e43 |
--- 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: