From b0c1a5f4362a1db5621b74052eca27d3e2af1ab2 Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Mon, 9 Dec 2019 01:23:37 +0100 Subject: [HICN-438] facemgr should allow face creation with physical interface down MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9d333f2d420c735d3867c0813dc93e82aceb3861 Signed-off-by: Jordan Augé --- ctrl/facemgr/src/interfaces/priority_controller/priority_controller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ctrl/facemgr/src/interfaces/priority_controller/priority_controller.c') 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); -- cgit