linux/net/bluetooth
Marcel Holtmann 7d0db0a373 [Bluetooth] Use a more unique bus name for connections
When attaching Bluetooth low-level connections to the bus, the bus name
is constructed from the remote address since at that time the connection
handle is not assigned yet. This has worked so far, but also caused a
lot of troubles. It is better to postpone the creation of the sysfs
entry to the time when the connection actually has been established
and then use its connection handle as unique identifier.

This also fixes the case where two different adapters try to connect
to the same remote device.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2008-07-14 20:13:51 +02:00
..
bnep
cmtp
hidp
rfcomm [Bluetooth] Add timestamp support to L2CAP, RFCOMM and SCO 2008-07-14 20:13:50 +02:00
af_bluetooth.c [Bluetooth] Add support for TIOCOUTQ and TIOCINQ ioctls 2008-07-14 20:13:51 +02:00
hci_conn.c [Bluetooth] Use a more unique bus name for connections 2008-07-14 20:13:51 +02:00
hci_core.c
hci_event.c [Bluetooth] Use a more unique bus name for connections 2008-07-14 20:13:51 +02:00
hci_sock.c
hci_sysfs.c [Bluetooth] Use a more unique bus name for connections 2008-07-14 20:13:51 +02:00
Kconfig
l2cap.c [Bluetooth] Add timestamp support to L2CAP, RFCOMM and SCO 2008-07-14 20:13:50 +02:00
lib.c
Makefile
sco.c [Bluetooth] Add timestamp support to L2CAP, RFCOMM and SCO 2008-07-14 20:13:50 +02:00