author | Florian Pose <fp@igh-essen.com> |
Wed, 04 Jan 2012 13:57:48 +0100 | |
branch | redundancy |
changeset 2329 | d91edc7b3f93 |
parent 2328 | 7d031aefaf96 |
child 2330 | 849d250e6a4c |
--- 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: