mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
bluez: fix sixaxis patch with SDP browse type param
This commit is contained in:
parent
01a757edd7
commit
1f09975afe
@ -29,7 +29,7 @@ index 3ef0340..859aa3c 100644
|
|||||||
+ if (!rec)
|
+ if (!rec)
|
||||||
+ return;
|
+ return;
|
||||||
+
|
+
|
||||||
+ req = browse_request_new(device, NULL);
|
+ req = browse_request_new(device, BROWSE_SDP, NULL);
|
||||||
+ if (!req)
|
+ if (!req)
|
||||||
+ return;
|
+ return;
|
||||||
+
|
+
|
||||||
@ -46,7 +46,7 @@ index 3ef0340..859aa3c 100644
|
|||||||
+ g_dbus_emit_property_changed(dbus_conn, req->device->path,
|
+ g_dbus_emit_property_changed(dbus_conn, req->device->path,
|
||||||
+ DEVICE_INTERFACE, "UUIDs");
|
+ DEVICE_INTERFACE, "UUIDs");
|
||||||
+
|
+
|
||||||
+ device_svc_resolved(device, device->bdaddr_type, 0);
|
+ device_svc_resolved(device, BROWSE_SDP, device->bdaddr_type, 0);
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
const sdp_record_t *btd_device_get_record(struct btd_device *device,
|
const sdp_record_t *btd_device_get_record(struct btd_device *device,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user