projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7af8f13
)
fix system_if_check
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 23 Oct 2011 15:22:31 +0000
(17:22 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 23 Oct 2011 15:22:31 +0000
(17:22 +0200)
system-linux.c
patch
|
blob
|
history
diff --git
a/system-linux.c
b/system-linux.c
index 159817063f2c1da2700455daf01f7d2034d18206..3ac55883918c5b97e10f27eb9c5f65dbf1dcc470 100644
(file)
--- a/
system-linux.c
+++ b/
system-linux.c
@@
-603,7
+603,7
@@
int system_if_down(struct device *dev)
int system_if_check(struct device *dev)
{
- device_set_present(dev, (system_if_resolve(dev) >
=
0));
+ device_set_present(dev, (system_if_resolve(dev) > 0));
return 0;
}