mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 19:43:35 +00:00
modem_socket_put() originally took an index as a parameter and was later swapped to sock_fd as the reference. The internal code was never updated to reflect that sock_fd isn't an index -- it's a separate reference generated via z_reserve_fd(). Let's correct the modem_socket_put() logic. Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/18238 Reported-by: Tobias Svehagen <tobias.svehagen@gmail.com> Signed-off-by: Michael Scott <mike@foundries.io> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.ublox-sara-r4 | ||
Kconfig.wncm14a2a | ||
modem_cmd_handler.c | ||
modem_cmd_handler.h | ||
modem_context.c | ||
modem_context.h | ||
modem_iface_uart.c | ||
modem_iface_uart.h | ||
modem_pin.c | ||
modem_receiver.c | ||
modem_receiver.h | ||
modem_shell.c | ||
modem_socket.c | ||
modem_socket.h | ||
ublox-sara-r4.c | ||
wncm14a2a.c |