projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ccad2d
)
interface: apply device config passed through interface config
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 24 Jan 2015 00:02:57 +0000
(
01:02
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 24 Jan 2015 00:10:33 +0000
(
01:10
+0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 4ab243120c393dd2b492ca18adfef67655e37328..72599e63fd95c344e340f437ee3c0d51212eabd8 100644
(file)
--- 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;
}