diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-23 17:22:31 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-23 17:22:31 +0200 |
commit | a2f762e2e145b7be932f25c8f1de0da2a8009d4f (patch) | |
tree | 797942b3cf1984d020b8668ca1e46133763f14f1 | |
parent | 7af8f13d78660a5983774cde352bf452e6a43876 (diff) |
fix system_if_check
-rw-r--r-- | system-linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system-linux.c b/system-linux.c index 1598170..3ac5588 100644 --- 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; } |