diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-07-14 22:13:51 +0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-07-14 22:13:51 +0400 |
commit | 7d0db0a373195385a2e0b19d1f5e4b186fdcffac (patch) | |
tree | 4e82fafd39eb0a32bfb0a340302dd0baf15410e0 /net/bluetooth/af_bluetooth.c | |
parent | 43cbeee9f9b26300275e4e2d55ed1607f8c5f760 (diff) | |
download | linux-7d0db0a373195385a2e0b19d1f5e4b186fdcffac.tar.xz |
[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>
Diffstat (limited to 'net/bluetooth/af_bluetooth.c')
0 files changed, 0 insertions, 0 deletions