diff mbox series

[BlueZ,1/1] Set `SDP_LARGE_MTU` flag for DS4 Rev. 2 product code

Message ID 20241219181140.423916-2-kieran.r.geary@gmail.com
State New
Headers show
Series Fix SDP buffer overflow for DS4 (Revision 2) | expand

Commit Message

Kieran Geary Dec. 19, 2024, 6:11 p.m. UTC
---
 src/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/device.c b/src/device.c
index 2b3d19f55..4e5a5b945 100644
--- a/src/device.c
+++ b/src/device.c
@@ -6047,7 +6047,7 @@  static uint16_t get_sdp_flags(struct btd_device *device)
 	 * results in SDP response being dropped by kernel. Workaround this by
 	 * forcing SDP code to use bigger MTU while connecting.
 	 */
-	if (vid == 0x054c && pid == 0x05c4)
+	if (vid == 0x054c && (pid == 0x05c4 || pid == 0x09cc))
 		return SDP_LARGE_MTU;
 
 	if (btd_adapter_ssp_enabled(device->adapter))