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.
This commit is contained in:
Pauli Virtanen 2025-10-02 01:33:23 +03:00
parent 8277bf6b36
commit 6755f24a3d

View file

@ -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;