From 9e1db0e8c7cf7a81f75457e5181e5045a5c245f5 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sun, 1 Feb 2026 18:53:18 +0100 Subject: [PATCH] transport: don't warn when a transport is selected twice Selecting the same transport is not an issue. Move the warning message to debug level. Change-Id: I52a7fffeb08a5aa6ee8a72af6b740f7e0fbe5b27 Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/9428 Reviewed-by: Tomas Vanek Tested-by: jenkins --- src/transport/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transport/transport.c b/src/transport/transport.c index 5323a7ca0..bb7df408c 100644 --- a/src/transport/transport.c +++ b/src/transport/transport.c @@ -352,7 +352,7 @@ COMMAND_HANDLER(handle_transport_select) transport_single_is_autoselected = false; return ERROR_OK; } - LOG_WARNING("Transport \"%s\" was already selected", CMD_ARGV[0]); + LOG_DEBUG("Transport \"%s\" was already selected", CMD_ARGV[0]); return ERROR_OK; } command_print(CMD, "Can't change session's transport after the initial selection was made");