netifd: Set interface device config when device has old settings
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 12 Feb 2015 16:41:17 +0000 (17:41 +0100)
committerSteven Barth <steven@midlink.org>
Tue, 17 Feb 2015 14:12:05 +0000 (15:12 +0100)
commit4d84111e1014c817653db92bcd8024ff1935b6be
treea22557587ccf65da0d40cbe70b7283b9769eb996
parent2af71375f7a03d78dc9e3e4155e59e51f17a8327
netifd: Set interface device config when device has old settings

If interface device settings are removed in UCI they were not removed in the
device settings; calling device_set_config when device settings are present
solves this.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
config.c