allow temporary duplicates of devices
authorFelix Fietkau <nbd@openwrt.org>
Wed, 5 Oct 2011 17:04:51 +0000 (19:04 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 5 Oct 2011 17:04:51 +0000 (19:04 +0200)
device.c

index 76feb683184a78f7b0d29cc364874c786ab063e8..e9534322258777bc338900c707c60a0c310fd0cd 100644 (file)
--- a/device.c
+++ b/device.c
@@ -99,7 +99,7 @@ device_init_settings(struct device *dev, struct blob_attr **tb)
 
 static void __init dev_init(void)
 {
-       avl_init(&devices, avl_strcmp, false, NULL);
+       avl_init(&devices, avl_strcmp, true, NULL);
 }
 
 static void device_broadcast_event(struct device *dev, enum device_event ev)