[Bluetooth] Attach low-level connections to the Bluetooth bus
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>
This commit is contained in:
parent
53ab61c6d8
commit
e52726dece
1 changed files with 3 additions and 1 deletions
|
@ -259,7 +259,9 @@ void hci_conn_add_sysfs(struct hci_conn *conn)
|
||||||
|
|
||||||
BT_DBG("conn %p", 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;
|
conn->dev.release = bt_release;
|
||||||
|
|
||||||
snprintf(conn->dev.bus_id, BUS_ID_SIZE,
|
snprintf(conn->dev.bus_id, BUS_ID_SIZE,
|
||||||
|
|
Loading…
Reference in a new issue