zephyr/tests/net/conn_mgr_conn/src
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
..
main.c net: conn_mgr: connect/disconnect adjustments 2023-05-11 12:15:44 +02:00
test_conn_impl.c net: conn_mgr: Fix event definitions 2023-04-24 16:29:01 +02:00
test_conn_impl.h net: conn_mgr: Fix event definitions 2023-04-24 16:29:01 +02:00
test_ifaces.c
test_ifaces.h