]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Add put(hcon) when deleting hchan
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Thu, 25 Oct 2012 12:20:51 +0000 (15:20 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 25 Oct 2012 15:21:09 +0000 (13:21 -0200)
commita11124c81e945dc317814ac473f10a861212710c
treee93a717d7661a988ad657724c74e30d9f02ae6fd
parentf75f366287b36407a970827c805fdcbfa258e650
Bluetooth: Add put(hcon) when deleting hchan

When refcnt reaches zero disconnect timeout will run and hci_conn
will be disconnected.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_conn.c