Skip to content
Commit 15b0f903 authored by Seppo Takalo's avatar Seppo Takalo Committed by Benjamin Cabé
Browse files

modem: cmux: Do not return error on low buffer space



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: default avatarSeppo Takalo <seppo.takalo@nordicsemi.no>
parent 4501ca1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment