public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] [PATCH] CreateBonding while periodic scanning
@ 2008-07-02 19:22 Manuel Naranjo
  2008-07-11  6:20 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Manuel Naranjo @ 2008-07-02 19:22 UTC (permalink / raw)
  To: BlueZ development

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

Hello everyone,

I've sent this patch before, but for some reason I didn't got either a 
positive or even negative response.

Problem is like this, when we're doing a periodic scan we should be able 
to do bonding, but according to the code we can't, so then something is 
wrong, either we can't do periodic scanning, or we need to fix a bug.

This patch tries to fix this bug, and applies against 3.35.

Thanks,
Manuel Naranjo
Wireless Cables Inc

[-- Attachment #2: adapter.patch --]
[-- Type: text/plain, Size: 449 bytes --]

--- hcid/adapter.c.orig	2008-06-28 19:59:50.000000000 -0300
+++ hcid/adapter.c	2008-06-28 20:05:47.000000000 -0300
@@ -2792,7 +2792,7 @@
 	str2ba(address, &bdaddr);
 
 	/* check if there is a pending discover: requested by D-Bus/non clients */
-	if (adapter->discov_active || (adapter->pdiscov_active && !adapter->pinq_idle))
+	if (adapter->discov_active)
 		return in_progress(msg, "Discover in progress");
 
 	pending_remote_name_cancel(adapter);

[-- Attachment #3: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

[-- Attachment #4: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2008-07-11 10:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02 19:22 [Bluez-devel] [PATCH] CreateBonding while periodic scanning Manuel Naranjo
2008-07-11  6:20 ` Marcel Holtmann
2008-07-11  8:14   ` Heston James - Cold Beans
2008-07-11  8:31     ` Marcel Holtmann
2008-07-11  8:34       ` Heston James - Cold Beans
2008-07-11 10:07       ` Manuel Naranjo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox