[Bluetooth] Fix reference count when connection lookup fails
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Oct 2006 15:31:05 +0000 (17:31 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 16 Oct 2006 06:14:32 +0000 (23:14 -0700)
commitb2cfcd75df77b80d9cc3fa84190a350dfa79eb93
tree661abc82652a6cc7ff665861d98d127e2152affc
parente86070c83e9110e89800274385c013db602b1444
[Bluetooth] Fix reference count when connection lookup fails

When the connection lookup for the device structure fails, the reference
count for the HCI device needs to be decremented.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/bnep/core.c
net/bluetooth/hidp/core.c
net/bluetooth/rfcomm/tty.c