mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 17:42:51 +00:00
avdtp_util: increase packet size for the cp_type_value_len of content protection struct
This commit is contained in:
parent
83733477bb
commit
74b2411b79
@ -210,6 +210,7 @@ int avdtp_pack_service_capabilities(uint8_t *buffer, int size, avdtp_capabilitie
|
||||
pos += 2;
|
||||
(void)memcpy(buffer + pos, caps.content_protection.cp_type_value,
|
||||
caps.content_protection.cp_type_value_len);
|
||||
pos += caps.content_protection.cp_type_value_len;
|
||||
break;
|
||||
case AVDTP_HEADER_COMPRESSION:
|
||||
buffer[pos++] = (caps.header_compression.back_ch << 7) | (caps.header_compression.media << 6) | (caps.header_compression.recovery << 5);
|
||||
|
Loading…
x
Reference in New Issue
Block a user