|
@@ -488,6 +488,19 @@ static void create_eir(struct hci_dev *hdev, u8 *data)
|
|
|
ptr += 3;
|
|
|
}
|
|
|
|
|
|
+ if (hdev->devid_source > 0) {
|
|
|
+ ptr[0] = 9;
|
|
|
+ ptr[1] = EIR_DEVICE_ID;
|
|
|
+
|
|
|
+ put_unaligned_le16(hdev->devid_source, ptr + 2);
|
|
|
+ put_unaligned_le16(hdev->devid_vendor, ptr + 4);
|
|
|
+ put_unaligned_le16(hdev->devid_product, ptr + 6);
|
|
|
+ put_unaligned_le16(hdev->devid_version, ptr + 8);
|
|
|
+
|
|
|
+ eir_len += 10;
|
|
|
+ ptr += 10;
|
|
|
+ }
|
|
|
+
|
|
|
memset(uuid16_list, 0, sizeof(uuid16_list));
|
|
|
|
|
|
/* Group all UUID16 types */
|