zephyr/subsys/net
Robert Lubos 011f2bc458 net: conn_mgr: Fix disconnect with CONN_MGR_IF_NO_AUTO_DOWN unset
Connection manager enforces non-blocking disconnect() behavior, yet in
case CONN_MGR_IF_NO_AUTO_DOWN flag is not set, it'd put the interface
down right after, disrupting the disconnect process.

As putting the interface down can be handled in the corresponding event
handler as well, when the interface is actually disconnected, remove the
conn_mgr_conn_if_auto_admin_down() call from conn_mgr_if_disconnect().
To make this work with persistence flag, introduce a new internal flag
indicating that the interface is in active disconnect.

Finally, since it isn't really necessary that disconnect() API call is
non-blocking, remove that requirement.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-05-19 16:37:07 +02:00
..
conn_mgr net: conn_mgr: Fix disconnect with CONN_MGR_IF_NO_AUTO_DOWN unset 2025-05-19 16:37:07 +02:00
ip style: add missing curly braces in if/while/for statements. 2025-05-17 14:10:33 +02:00
l2 net: l2: ppp: Terminate connection with dormant 2025-05-14 14:10:21 +02:00
lib net: lib: zperf: fix compilation with UDP/TCP only 2025-05-19 11:24:58 +02:00
pkt_filter net: pkt_filter: Add VLAN support to filtering 2025-04-16 08:07:34 +02:00
CMakeLists.txt net: silence no sources cmake warning 2024-10-18 14:14:56 +02:00
hostname.c net: hostname: Add a function to set the hostname postfix as is. 2024-07-28 07:28:51 +03:00
Kconfig lib: net_buf: move the network buffer implementation to lib 2024-09-07 11:19:05 -05:00
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net net: Give name to logging choice 2024-09-30 12:10:42 +01:00