linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] Fix not marking a reverse SDP discovery as "reverse"
@ 2012-03-20 17:49 Vinicius Costa Gomes
  2012-03-20 18:05 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Vinicius Costa Gomes @ 2012-03-20 17:49 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Vinicius Costa Gomes

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 0a1de7c..2bc0620 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);
 
-- 
1.7.9.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH BlueZ] Fix not marking a reverse SDP discovery as "reverse"
  2012-03-20 17:49 [PATCH BlueZ] Fix not marking a reverse SDP discovery as "reverse" Vinicius Costa Gomes
@ 2012-03-20 18:05 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-03-20 18:05 UTC (permalink / raw)
  To: Vinicius Costa Gomes; +Cc: linux-bluetooth

Hi Vinicius,

On Tue, Mar 20, 2012, Vinicius Costa Gomes wrote:
> 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(-)

Applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-20 18:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-20 17:49 [PATCH BlueZ] Fix not marking a reverse SDP discovery as "reverse" Vinicius Costa Gomes
2012-03-20 18:05 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).