mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
bluez5: backend-native: Send error for not supported event only as AG
The HS/HF roles should not sent error messages, only commands.
This commit is contained in:
parent
3de4f0d48b
commit
291fd9704f
1 changed files with 2 additions and 1 deletions
|
|
@ -1388,6 +1388,7 @@ static void rfcomm_process_events(struct rfcomm *rfcomm, char *buf, bool ag, boo
|
|||
|
||||
if (!handler(rfcomm, token)) {
|
||||
spa_log_debug(backend->log, "RFCOMM received unsupported event: %s", token);
|
||||
if (ag)
|
||||
rfcomm_send_error(rfcomm, CMEE_OPERATION_NOT_SUPPORTED);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue