]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix refcount balance for hci connection
authorVille Tervo <ville.tervo@nokia.com>
Thu, 7 Apr 2011 11:59:50 +0000 (14:59 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 18 Apr 2011 23:11:45 +0000 (20:11 -0300)
commit21cfa4d8756b071cb85acea540773aeb8c245923
tree82a938a29207cdc7908c450b9a907dad00b316c9
parent937fb564f9cdf3bcbff5ee516a1ca49d1cd33bde
Bluetooth: Fix refcount balance for hci connection

hci_io_capa_reply_evt() holds reference for hciconnection. It's useless since
hci_io_capa_request_evt()/hci_simple_pair_complete_evt() already protects the
connection. In addition it leaves connection open after failed SSP pairing.

Signed-off-by: Ville Tervo <ville.tervo@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c