Skip to content

Commit

Permalink
modules: hostap: Fix check for iface up
Browse files Browse the repository at this point in the history
We only need the interface to be administratively up, the operationl
status is managed by the WPA supplicant.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 authored and nashif committed Jul 3, 2024
1 parent 176a47c commit 650227d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hostap/src/supp_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 650227d

Please sign in to comment.