If we end up writing zero bytes to cmux output, we can return zero instead of -ENOMEM as it would break various modules when using small buffers. For example modem_chat.c does not tolerate -ENOMEM but handles zero OK. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| backends | ||
| CMakeLists.txt | ||
| Kconfig | ||
| modem_chat.c | ||
| modem_cmux.c | ||
| modem_pipe.c | ||
| modem_pipelink.c | ||
| modem_ppp.c | ||
| modem_stats.c | ||
| modem_ubx.c | ||