bluez: fix sixaxis patch with SDP browse type param

This commit is contained in:
MilhouseVH 2017-09-21 01:17:20 +01:00
parent 01a757edd7
commit 1f09975afe

View File

@ -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,