summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2015-03-18 16:54:48 +0100
committerSteven Barth <steven@midlink.org>2015-03-19 16:27:11 +0100
commit60f57b2bfb87c463fc271a9c3e8e1f97feaecdca (patch)
treece52bb7a5b8ea01df3957bf9a25567c05770c637 /device.h
parent45fd905c980e56b20770d4b34556749fbca53fcc (diff)
downloadnetifd-60f57b2bfb87c463fc271a9c3e8e1f97feaecdca.tar.gz
netifd:Make sure interface device config is also cached
Fixes issue interface device config is not applied in some cases. As the interface device config was applied but not always cached; an interface device config diff was not always detected. Simplify device config setting by exposing as api only device_apply_config Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'device.h')
-rw-r--r--device.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/device.h b/device.h
index 6418f16..cddb340 100644
--- a/device.h
+++ b/device.h
@@ -194,9 +194,6 @@ void device_init_settings(struct device *dev, struct blob_attr **tb);
void device_init_pending(void);
enum dev_change_type
-device_set_config(struct device *dev, const struct device_type *type,
- struct blob_attr *attr);
-enum dev_change_type
device_apply_config(struct device *dev, const struct device_type *type,
struct blob_attr *config);