projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: Only call halt on a driver that has been init'ed
[platform/kernel/u-boot.git]
/
net
/
eth-uclass.c
diff --git
a/net/eth-uclass.c
b/net/eth-uclass.c
index
e4b4922
..
fa3f549
100644
(file)
--- 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);