summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-05 19:04:51 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-05 19:04:51 +0200
commit5fb6e081432d531a905abb7a8b70cfeb2e8fa41b (patch)
treef5eb4442400430d3333f4a9f20f22492ce66f827
parent1d2107528d9ffa2c7382f3e4290e86c166bd3324 (diff)
allow temporary duplicates of devices
-rw-r--r--device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.c b/device.c
index 76feb68..e953432 100644
--- 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)