Skip to content
Browse files

shell: Fix shell uart not waking up shell on mcumgr data

When mcumgr smp data was received over shell uart transport
it was not waking up shell thread and thus request was not
processed. Shell thread must be waken up on any incoming
data, even data which is only dedicated for mcumgr smp.

Signed-off-by: Krzysztof Chruscinski <>
  • Loading branch information...
nordic-krch authored and carlescufi committed Jun 3, 2019
1 parent 2692f2e commit 63e0ae0a9e3c5a5c0d3d6f3b67213caad5b0591e
Showing with 2 additions and 1 deletion.
  1. +2 −1 subsys/shell/shell_uart.c
@@ -53,9 +53,10 @@ static void uart_rx_handle(const struct shell_uart *sh_uart)

rd_len -= i;
new_data = true;
if (rd_len) {
new_data = true;
for (u32_t j = 0; j < rd_len; j++) {
data[j] = data[i + j];

0 comments on commit 63e0ae0

Please sign in to comment.
You can’t perform that action at this time.