remove an unnecessary check
authorFelix Fietkau <nbd@openwrt.org>
Mon, 28 Mar 2011 16:47:10 +0000 (18:47 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 28 Mar 2011 16:47:10 +0000 (18:47 +0200)
interface.c

index 52d30fc77948aac0e64ad5319e0fc5c53aa51bb6..7bf0ed490366265b170252b6404bc42b18efd512 100644 (file)
@@ -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);