From 89ccd8055bb6c330bd9f883e37bbf36078d5d948 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 24 Jan 2015 01:02:57 +0100 Subject: [PATCH] interface: apply device config passed through interface config Signed-off-by: Felix Fietkau --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.c b/interface.c index 4ab2431..72599e6 100644 --- a/interface.c +++ b/interface.c @@ -511,7 +511,7 @@ interface_claim_device(struct interface *iface) !(iface->proto_handler->flags & PROTO_FLAG_NODEV)) { dev = device_get(iface->ifname, true); if (dev && dev->default_config && iface->device_config) - device_set_config(dev, dev->type, iface->config); + device_apply_config(dev, dev->type, iface->config); } else { dev = iface->ext_dev.dev; } -- 2.25.1