summaryrefslogtreecommitdiffhomepage
path: root/config.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-24 00:42:20 +0100
committerFelix Fietkau <nbd@openwrt.org>2015-01-24 00:42:20 +0100
commit02f05f3755fec2ee8c078b13ad1570bc941a8f72 (patch)
tree79bf6ac3801ee84eefa1f6ceaa1758ecb02918dc /config.c
parentb9d1f678c1f705b5635de31d333353a64ff6799d (diff)
device: apply config changes from device sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
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;
}