Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] [PATCH] Deleted acl-handles on failed hci_create_connection
@ 2004-06-10 18:35 Andreas Gaufer
  2004-06-10 18:53 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Gaufer @ 2004-06-10 18:35 UTC (permalink / raw)
  To: Bluez Devel

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

Hi,

Heres a patch for hci_event.c to fix the problem that acl-handles are removed 
from the kernels connection hash when a hci_create_connection returnes a
command status thats not 0x00.

One of the problems that was caused by this bug was that cc could be issued 
even if the peer was already connected. This case leads to the error message 
"Too many links" with sdptool and rfcomm for example. This connection could 
only be removed if the acl handle was known otherwise or by removing power 
from the usb-dongle (unplugg).

Have Fun!

Greetings

Andreas Gaufer
 


[-- Attachment #2: patch-2.4.26-ag1.gz --]
[-- Type: application/octet-stream, Size: 388 bytes --]

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

end of thread, other threads:[~2004-06-10 20:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10 18:35 [Bluez-devel] [PATCH] Deleted acl-handles on failed hci_create_connection Andreas Gaufer
2004-06-10 18:53 ` Marcel Holtmann
2004-06-10 20:29   ` Andreas Gaufer

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