| Message ID | 20180702194754.1955-4-joe.hershberger@ni.com |
|---|---|
| State | Accepted |
| Commit | 68acb51 |
| Delegated to: | Joe Hershberger |
| Headers | show |
| Series | sandbox: net: Fix sandbox eth drivers | expand |
Hi Joe, https://patchwork.ozlabs.org/patch/938160/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe
diff --git a/net/eth-uclass.c b/net/eth-uclass.c index e4b49229e3..fa3f5497a2 100644 --- a/net/eth-uclass.c +++ b/net/eth-uclass.c @@ -307,7 +307,7 @@ void eth_halt(void) struct eth_device_priv *priv; current = eth_get_dev(); - if (!current || !device_active(current)) + if (!current || !eth_is_active(current)) return; eth_get_ops(current)->stop(current);