Skip to content
Commit 88deb807 authored by Dominik Ermel's avatar Dominik Ermel Committed by Carles Cufí
Browse files

mgmt: smp: Fix shell sending SMP response to wrong UART



The commit fixes the problem where the SMP over shell responses have
been sent with use of k_str_out(), which is configured to use console
UART directly.  This caused problem when user decided to attach
shell to a different UART then the one that has been used by
the console driver, because the SMP responses would still be sent
to the console UART rather than the shell UART.

The updated code uses, for shell SMP responses, the UART that has been
selected for the shell.

Fixes #26939

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent fc8f639b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment