s/clear_interface_errors/interface_clear_errors/
authorFelix Fietkau <nbd@openwrt.org>
Wed, 5 Oct 2011 17:01:03 +0000 (19:01 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 5 Oct 2011 17:01:03 +0000 (19:01 +0200)
interface.c

index 506a478..7bf8f25 100644 (file)
@@ -31,7 +31,7 @@ const struct config_param_list interface_attr_list = {
 };
 
 static void
 };
 
 static void
-clear_interface_errors(struct interface *iface)
+interface_clear_errors(struct interface *iface)
 {
        struct interface_error *error, *tmp;
 
 {
        struct interface_error *error, *tmp;
 
@@ -119,7 +119,7 @@ __interface_set_up(struct interface *iface)
 static void
 __interface_set_down(struct interface *iface, bool force)
 {
 static void
 __interface_set_down(struct interface *iface, bool force)
 {
-       clear_interface_errors(iface);
+       interface_clear_errors(iface);
 
        if (iface->state == IFS_DOWN ||
                iface->state == IFS_TEARDOWN)
 
        if (iface->state == IFS_DOWN ||
                iface->state == IFS_TEARDOWN)