Browse Source
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>pull/87587/head
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue