62168b659e
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> |
||
---|---|---|
.. | ||
main.c | ||
test_conn_impl.c | ||
test_conn_impl.h | ||
test_ifaces.c | ||
test_ifaces.h |