equal
deleted
inserted
replaced
6402 device_set_wakeup_enable(&pdev->dev, tp->features & RTL_FEATURE_WOL); |
6402 device_set_wakeup_enable(&pdev->dev, tp->features & RTL_FEATURE_WOL); |
6403 |
6403 |
6404 if (pci_dev_run_wake(pdev)) |
6404 if (pci_dev_run_wake(pdev)) |
6405 pm_runtime_put_noidle(&pdev->dev); |
6405 pm_runtime_put_noidle(&pdev->dev); |
6406 |
6406 |
6407 netif_carrier_off(dev); |
6407 if (tp->ecdev) { |
6408 |
6408 rc = ecdev_open(tp->ecdev); |
6409 if (tp->ecdev && ecdev_open(tp->ecdev)) { |
6409 if (rc) { |
6410 ecdev_withdraw(tp->ecdev); |
6410 ecdev_withdraw(tp->ecdev); |
6411 goto err_out_msi_4; |
6411 goto err_out_msi_4; |
|
6412 } |
|
6413 } |
|
6414 else { |
|
6415 netif_carrier_off(dev); |
6412 } |
6416 } |
6413 |
6417 |
6414 out: |
6418 out: |
6415 return rc; |
6419 return rc; |
6416 |
6420 |