zephyr/drivers/modem
Marcin Niestroj 032b90845e modem: simcom-sim7080: fix handling failed fragment send in sendmsg()
If one data fragment was not sent successfully in sendmsg(), then
attempting to send the rest does not make any sense, as it would introduce
hole in data stream.

Currently if one fragment was not sent successfully, then there is a
'break' in inner loop, but that moves the execution to sending the
following data fragments.

Return early in case of fragment sending failure, so that there are no more
send attempts.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-06-06 10:26:53 -07:00
..
CMakeLists.txt modem: remove 'modem_pin' abstraction 2022-06-06 17:58:52 +02:00
gsm_ppp.c drivers: modem: gsm: remove mux_enabled flag and checks 2022-06-05 14:13:45 +02:00
hl7800.c modem: hl7800: Enable multi-user callbacks 2022-06-05 14:48:47 +02:00
Kconfig modem: modem_iface_uart_async: added 2022-05-10 10:44:04 +02:00
Kconfig.gsm drivers: modem: gsm: wait for cellular registration 2022-03-16 10:23:32 +01:00
Kconfig.hl7800 modem: hl7800: add API to set bands 2022-03-30 11:39:06 +02:00
Kconfig.quectel-bg9x kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.simcom-sim7080 everywhere: fix typos 2022-03-14 20:22:24 -04:00
Kconfig.ublox-sara-r4 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.wncm14a2a kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
modem_cmd_handler.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_cmd_handler.h drivers/modem: add user_data to modem_cmd_handler_data 2022-06-06 17:59:35 +02:00
modem_context.c modem: remove 'modem_pin' abstraction 2022-06-06 17:58:52 +02:00
modem_context.h modem: remove 'modem_pin' abstraction 2022-06-06 17:58:52 +02:00
modem_iface_uart.h modem: modem_iface_uart_async: added 2022-05-10 10:44:04 +02:00
modem_iface_uart_async.c modem: modem_iface_uart_async: added 2022-05-10 10:44:04 +02:00
modem_iface_uart_interrupt.c modem: choice symbol for UART backend 2022-05-10 10:44:04 +02:00
modem_receiver.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_receiver.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_shell.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_socket.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_socket.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
quectel-bg9x.c modem: quectel-bg9x: use 'gpio_dt_spec' instead of 'modem_pin' 2022-06-06 17:58:52 +02:00
quectel-bg9x.h modem: quectel-bg9x: use 'gpio_dt_spec' instead of 'modem_pin' 2022-06-06 17:58:52 +02:00
simcom-sim7080.c modem: simcom-sim7080: fix handling failed fragment send in sendmsg() 2022-06-06 10:26:53 -07:00
simcom-sim7080.h modem: simcom-sim7080: use 'gpio_dt_spec' instead of 'modem_pin' 2022-06-06 17:58:52 +02:00
ublox-sara-r4.c modem: ublox-sara-r4: use 'gpio_dt_spec' instead of 'modem_pin' 2022-06-06 17:58:52 +02:00
wncm14a2a.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00