summaryrefslogtreecommitdiff
path: root/system-dummy.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-09 22:42:34 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-09 22:42:34 +0200
commit43d8e8e91a67ba6ecb87621c51614d6325fde7ae (patch)
tree1a526f7908d1c485737420d8f352b8db7c7e7021 /system-dummy.c
parent6103b065ee1fa7c9e3766b981cd090928683a2a6 (diff)
downloadnetifd-43d8e8e91a67ba6ecb87621c51614d6325fde7ae.tar.gz
fix clearing device state, trigger it on device_init()
Diffstat (limited to 'system-dummy.c')
-rw-r--r--system-dummy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/system-dummy.c b/system-dummy.c
index 9a646dc..00a9b2a 100644
--- a/system-dummy.c
+++ b/system-dummy.c
@@ -64,6 +64,11 @@ int system_if_down(struct device *dev)
return 0;
}
+void system_if_clear_state(struct device *dev)
+{
+ return 0;
+}
+
int system_if_check(struct device *dev)
{
dev->ifindex = 0;