summaryrefslogtreecommitdiffhomepage
path: root/interface.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-28 18:47:10 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-03-28 18:47:10 +0200
commitd2739dae56ee5ba6d8a89ea1822e82a9ed495b72 (patch)
tree6673b203534853f42cee84095e31396b63b1159c /interface.c
parent308f0a4a364cfb9df6f6991eac00aa306846d2f6 (diff)
remove an unnecessary check
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c
index 52d30fc..7bf0ed4 100644
--- a/interface.c
+++ b/interface.c
@@ -203,7 +203,7 @@ set_interface_up(struct interface *iface)
return -1;
}
- if (iface->up || !iface->active)
+ if (iface->up)
return -1;
__set_interface_up(iface);