From 9c4712a9995f27c1dd7c8145ca54eb27f14af0a8 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Tue, 20 Mar 2012 14:49:33 -0300 Subject: [PATCH] Fix not marking a reverse SDP discovery as "reverse" Some devices "hide" some of their records while connected to other devices. Setting a service discovery as reverse makes BlueZ to not remove the records that are "hidden". This patch fixes a mistake that reverse parameter was changed to false when it should be true. --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device.c b/src/device.c index 0a1de7c28..2bc062001 100644 --- a/src/device.c +++ b/src/device.c @@ -2204,7 +2204,7 @@ static gboolean start_discovery(gpointer user_data) struct btd_device *device = user_data; if (device_is_bredr(device)) - device_browse_sdp(device, NULL, NULL, NULL, FALSE); + device_browse_sdp(device, NULL, NULL, NULL, TRUE); else device_browse_primary(device, NULL, NULL, FALSE); -- 2.47.3