diff options
author | Tom Rini <trini@konsulko.com> | 2018-07-26 15:55:42 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-26 15:55:42 -0400 |
commit | a57d45db90c8de2959b4484cc8f6ba81219a2269 (patch) | |
tree | 0f4bb63c28f89aea45db67d82bf53de87d930e44 /net/eth-uclass.c | |
parent | 2547e91dc15e5203e15d4ebde9172174743b14a7 (diff) | |
parent | 26026e695afa794ac018a09e79a48120d322b60d (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'net/eth-uclass.c')
-rw-r--r-- | net/eth-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth-uclass.c b/net/eth-uclass.c index e4b49229e38..fa3f5497a29 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); |