]> git.baikalelectronics.ru Git - kernel.git/commit
[Bluetooth] Fix reference counting during ACL config stage
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 9 Sep 2008 05:19:19 +0000 (07:19 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 9 Sep 2008 05:19:19 +0000 (07:19 +0200)
commit991dedfd579d66b7f6010c0d5442988960f2db94
treead95ceaf1d26b798a938ad09e2fec943a890dc11
parentc404530a852a7b2a7d70a4f79425fe92d7228f8e
[Bluetooth] Fix reference counting during ACL config stage

The ACL config stage keeps holding a reference count on incoming
connections when requesting the extended features. This results in
keeping an ACL link up without any users. The problem here is that
the Bluetooth specification doesn't define an ownership of the ACL
link and thus it can happen that the implementation on the initiator
side doesn't care about disconnecting unused links. In this case the
acceptor needs to take care of this.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c