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)
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

Simple merge