[Bluetooth] Handle device registration failures
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Jan 2007 01:16:38 +0000 (02:16 +0100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 9 Jan 2007 08:29:56 +0000 (00:29 -0800)
commitc893779e9fbe78575cbd04596f1fcafdb48e8f3f
treea7d0c6127044d1ad8f5b9e9fd728fb66ae7b35c3
parent4d6a2188bd456969f52c03edf1988de90f08d9f5
[Bluetooth] Handle device registration failures

In the case the device registration for a new Bluetooth low-level
connection fails there is no need to unregister it when the temporary
data structure has been removed.

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