mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-30 06:46:49 -04:00
module-avb: milan: return if server endity-id is different than the talker_guid
This commit is contained in:
parent
b8b58c81f2
commit
fdcd818fba
1 changed files with 2 additions and 1 deletions
|
|
@ -2173,8 +2173,9 @@ int handle_probe_tx_command_milan_v12(struct acmp *acmp, uint64_t now,
|
||||||
int status = AVB_ACMP_STATUS_SUCCESS;
|
int status = AVB_ACMP_STATUS_SUCCESS;
|
||||||
const uint8_t zero_addr[6] = {0};
|
const uint8_t zero_addr[6] = {0};
|
||||||
|
|
||||||
if (be64toh(p->talker_guid) != server->entity_id)
|
if (be64toh(p->talker_guid) != server->entity_id) {
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
memcpy(buf, m, len);
|
memcpy(buf, m, len);
|
||||||
AVB_PACKET_ACMP_SET_MESSAGE_TYPE(reply, AVB_ACMP_MESSAGE_TYPE_CONNECT_TX_RESPONSE);
|
AVB_PACKET_ACMP_SET_MESSAGE_TYPE(reply, AVB_ACMP_MESSAGE_TYPE_CONNECT_TX_RESPONSE);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue