Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys/net/gnrc/tcp: improve gnrc_tcp_open() netif handling
gnrc_tcp_open() previously would eventually fail with a timeout without sending any data when no netif was specified. This improves the behavior slightly: - If only a single netif is present, just select that when no netif is specified - If multiple netifs are present and no netif is specified, return `-EINVAL` directly rather than `-ETIMEDOUT` later Co-authored-by: benpicco <[email protected]>
- Loading branch information