zephyr/subsys/net/conn_mgr
Georges Oates_Larsen 62168b659e net: conn_mgr: connect/disconnect adjustments
Rather than raise error on connect if iface is down, just take the iface
up.

Rather than raise error on disconnect if iface is down, just ignore the
disconnection request.

Adjust tests and documentation accordingly.

This should make the API easier to use for applications and is more in
line with the original L2 agnostic connectivity RFC.

Also replace some instances of net_if_flag_is_set with
net_if_is_admin_up, which is cleaner and identical in function.

Signed-off-by: Georges Oates_Larsen <georges.larsen@nordicsemi.no>
2023-05-11 12:15:44 +02:00
..
CMakeLists.txt
Kconfig net: conn_mgr: Ignore ifaces and L2s 2023-05-11 12:15:44 +02:00
conn_mgr.c net: conn_mgr: Simplify DAD handling 2023-05-11 12:15:44 +02:00
conn_mgr.ld
conn_mgr_connectivity.c net: conn_mgr: connect/disconnect adjustments 2023-05-11 12:15:44 +02:00
conn_mgr_private.h net: conn_mgr: Simplify DAD handling 2023-05-11 12:15:44 +02:00
events_handler.c net: conn_mgr: Simplify DAD handling 2023-05-11 12:15:44 +02:00