aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/facemgr/src/interfaces/priority_controller/priority_controller.c
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2019-12-09 01:23:37 +0100
committerJordan Augé <jordan.auge+fdio@cisco.com>2019-12-09 15:33:32 +0100
commitb0c1a5f4362a1db5621b74052eca27d3e2af1ab2 (patch)
tree9f3dc5018db1d2c4cfcb8a363cea210d6e3ff00c /ctrl/facemgr/src/interfaces/priority_controller/priority_controller.c
parentc294250cd9faccf514316f92636a1a78a35b514f (diff)
[HICN-438] facemgr should allow face creation with physical interface down
Change-Id: I9d333f2d420c735d3867c0813dc93e82aceb3861 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'ctrl/facemgr/src/interfaces/priority_controller/priority_controller.c')
-rw-r--r--ctrl/facemgr/src/interfaces/priority_controller/priority_controller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrl/facemgr/src/interfaces/priority_controller/priority_controller.c b/ctrl/facemgr/src/interfaces/priority_controller/priority_controller.c
index 5452c0e85..76538185f 100644
--- a/ctrl/facemgr/src/interfaces/priority_controller/priority_controller.c
+++ b/ctrl/facemgr/src/interfaces/priority_controller/priority_controller.c
@@ -115,8 +115,8 @@ int priority_controller_callback(interface_t * interface, int fd, void * unused)
facelet_t * facelet_c = facelet_create();
facelet_set_netdevice_type(facelet_w, NETDEVICE_TYPE_WIFI);
facelet_set_netdevice_type(facelet_c, NETDEVICE_TYPE_CELLULAR);
- facelet_set_status(facelet_w, FACELET_STATUS_CLEAN);
- facelet_set_status(facelet_c, FACELET_STATUS_CLEAN);
+ facelet_set_attr_clean(facelet_w);
+ facelet_set_attr_clean(facelet_c);
switch(buf[0]) {
case '\0':
facelet_set_priority(facelet_w, 0);