From 650227d8c47f183b8c520b9abbbada2515982d05 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Mon, 24 Jun 2024 22:23:08 +0530 Subject: [PATCH] modules: hostap: Fix check for iface up We only need the interface to be administratively up, the operationl status is managed by the WPA supplicant. Signed-off-by: Chaitanya Tata --- modules/hostap/src/supp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hostap/src/supp_main.c b/modules/hostap/src/supp_main.c index fc5644a615d396..75946793e64caa 100644 --- a/modules/hostap/src/supp_main.c +++ b/modules/hostap/src/supp_main.c @@ -419,7 +419,7 @@ static void iface_cb(struct net_if *iface, void *user_data) return; } - if (!net_if_is_up(iface)) { + if (!net_if_is_admin_up(iface)) { return; }