From 02f05f3755fec2ee8c078b13ad1570bc941a8f72 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 24 Jan 2015 00:42:20 +0100 Subject: [PATCH 1/1] device: apply config changes from device sections Signed-off-by: Felix Fietkau --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 90ec979..8b6a5ba 100644 --- a/config.c +++ b/config.c @@ -217,7 +217,7 @@ config_init_devices(void) if (!dev) continue; - device_set_config(dev, dev->type, b.head); + device_apply_config(dev, dev->type, blob_memdup(b.head)); } dev->default_config = false; } -- 2.11.0