From 6755f24a3d662bc75733b9d0158d8163dc3ff730 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Thu, 2 Oct 2025 01:33:23 +0300 Subject: [PATCH] bluez5: reduce log level for unhandled RFCOMM commands Don't log warnings about not passing on RFCOMM commands to modem if there is no modem configured, as this is normal occurrence. --- spa/plugins/bluez5/backend-native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/bluez5/backend-native.c b/spa/plugins/bluez5/backend-native.c index 044ad5bd6..0dbe8c9ae 100644 --- a/spa/plugins/bluez5/backend-native.c +++ b/spa/plugins/bluez5/backend-native.c @@ -1394,7 +1394,7 @@ next_indicator: // This command is sent when we activate Apple extensions rfcomm_send_reply(rfcomm, "OK"); } else if (!mm_is_available(backend->modemmanager)) { - spa_log_warn(backend->log, "RFCOMM receive command but modem not available: %s", buf); + spa_log_info(backend->log, "RFCOMM receive command but modem not available: %s", buf); rfcomm_send_error(rfcomm, CMEE_NO_CONNECTION_TO_PHONE); return true;