zephyr/include/zephyr
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
..
acpi
app_memory kernel: typedef k_mem_domain_t and _mem_domain_info_t 2025-04-17 00:57:19 +02:00
arch style: add missing curly braces in if/while/for statements. 2025-05-17 14:10:33 +02:00
audio
bluetooth Bluetooth: BAP: Add control point cbs to BASS 2025-05-14 14:15:51 +02:00
canbus
console
crypto
data json: improve parsing and serializing of integers 2025-04-11 06:32:50 +02:00
debug doc: doxygen: group debugging APIs 2025-04-18 17:46:50 +02:00
devicetree devicetree: macros: add display specific macros 2025-05-08 12:24:21 +02:00
dfu
display cfb: typo fixes 2025-04-02 10:30:50 +02:00
drivers drivers: video: Rename signal variables to avoid compliance violation 2025-05-16 19:00:09 +02:00
dsp
dt-bindings sensor: rm3100: Add ODR build-time setting through DTS property 2025-05-16 21:36:23 +02:00
fs fs: zms: clarify need to re-mount after zms_clear 2025-03-31 14:32:08 +02:00
input
internal toolchain: Replace TOOLCHAIN_IGNORE_WSHADOW_BEGIN/END 2025-03-20 21:57:47 +01:00
ipc
kernel kernel: remove kernel/internal/smp.h 2025-04-29 02:42:09 +02:00
linker arch: nios2: remove arch 2025-05-15 20:01:05 -04:00
llext llext: optimize allocations for read-only sections 2025-03-21 14:41:30 -04:00
logging arch: nios2: remove arch 2025-05-15 20:01:05 -04:00
lorawan lorawan: add link check support. 2025-04-17 17:23:12 +02:00
math
mem_mgmt
mgmt mgmt: hawkbit: add event for confirmed current image during init 2025-05-09 14:01:08 +02:00
misc
modbus
modem modem: backend: uart: Add hw-flow-control for UART 2025-05-05 14:24:49 +02:00
multi_heap
net net: conn_mgr: Fix disconnect with CONN_MGR_IF_NO_AUTO_DOWN unset 2025-05-19 16:37:07 +02:00
platform
pm pm: Include disabled states in search inside pm_state_get 2025-05-05 21:56:55 +02:00
pmci/mctp pmci: Move MCTP into the PMCI subsys 2025-04-21 12:43:33 +02:00
portability portability: cmsis: Avoid copying objects names into control block 2025-04-14 20:03:19 +02:00
posix posix: implement the XSI_SINGLE_PROCESS Option Group 2025-05-13 22:23:21 -04:00
psa
random
retention
rtio rtio: API version 0.2.0, unstable 2025-05-14 23:35:15 +02:00
sd
sensing
settings settings: zms: code style clean up 2025-05-15 17:53:26 +02:00
shell
sip_svc
stats
storage storage/stream_flash: Fix description of erased_up_to 2025-05-02 16:10:17 +01:00
sys style: add missing curly braces in if/while/for statements. 2025-05-17 14:10:33 +02:00
task_wdt task_wdt: Add suspend and resume API functions 2025-04-02 13:05:14 +02:00
timing
toolchain arch: nios2: remove arch 2025-05-15 20:01:05 -04:00
tracing kernel: kheap: decouple simple alloc from aligned_alloc 2025-04-01 22:13:04 +02:00
usb usb: device_next: Reduce code size on Full-Speed only configuration 2025-04-10 12:57:19 +02:00
usb_c
xen
zbus zbus: Improve consistency with runtime observers 2025-05-16 09:37:20 +02:00
zvfs
bindesc.h
cache.h
device.h device: fix typo in device_deinit 2025-03-26 07:09:00 +01:00
devicetree.h devicetree: macros: add display specific macros 2025-05-08 12:24:21 +02:00
fatal_types.h
fatal.h
init.h linker: update section names to be unambiguous 2025-03-20 12:20:55 -04:00
irq_multilevel.h
irq_nextlevel.h style: add missing curly braces in if/while/for statements. 2025-05-17 14:10:33 +02:00
irq_offload.h
irq.h
kernel_includes.h kernel: remove kernel/internal/smp.h 2025-04-29 02:42:09 +02:00
kernel_structs.h kernel_structs: Add macro CPU_ID for getting current CPU ID 2025-04-08 08:57:57 +02:00
kernel_version.h doc: doxygen: add @brief to few APIs 2025-04-18 17:46:50 +02:00
kernel.h doc: kernel: mark k_event apis as being ISR safe 2025-05-02 01:16:46 +02:00
net_buf.h
shared_irq.h
smf.h
spinlock.h
sw_isr_table.h
sys_clock.h kernel: Add Z_IS_TIMEOUT_RELATIVE() macro 2025-03-17 02:21:02 +01:00
syscall.h
toolchain.h toolchain: Add IAR warning macros 2025-03-25 22:15:32 +01:00
types.h misc: Restrict linkage for main to freestanding 2025-04-03 15:26:23 -07:00