Skip to content

Commit

Permalink
[Bluetooth] Attach low-level connections to the Bluetooth bus
Browse files Browse the repository at this point in the history
To receive uvents for the low-level ACL and SCO links, they must be
assigned to a subsystem. It is enough to attach them to the already
established Bluetooth bus.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  • Loading branch information
Marcel Holtmann authored and David S. Miller committed Nov 22, 2006
1 parent 53ab61c commit e52726d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion net/bluetooth/hci_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ void hci_conn_add_sysfs(struct hci_conn *conn)

BT_DBG("conn %p", conn);

conn->dev.parent = &hdev->dev;
conn->dev.bus = &bt_bus;
conn->dev.parent = &hdev->dev;

conn->dev.release = bt_release;

snprintf(conn->dev.bus_id, BUS_ID_SIZE,
Expand Down

0 comments on commit e52726d

Please sign in to comment.