Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions subsys/shell/backends/shell_telnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static void telnet_command_send_reply(uint8_t *msg, uint16_t len)
ret = net_context_send(sh_telnet->client_ctx, msg, len, telnet_sent_cb,
K_FOREVER, NULL);

if (ret == -EAGAIN) {
if (ret == -EAGAIN || ret == -ENOBUFS) {
k_sleep(K_MSEC(TELNET_RETRY_SEND_SLEEP_MS));
continue;
}
Expand Down Expand Up @@ -206,7 +206,7 @@ static int telnet_send(void)
len, telnet_sent_cb,
K_FOREVER, NULL);

if (ret == -EAGAIN) {
if (ret == -EAGAIN || ret == -ENOBUFS) {
k_sleep(K_MSEC(TELNET_RETRY_SEND_SLEEP_MS));
continue;
}
Expand Down