diff options
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/hci_sysfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hci_sysfs.c index 954eb74eb370..3eeeb7a86e75 100644 --- a/net/bluetooth/hci_sysfs.c +++ b/net/bluetooth/hci_sysfs.c | |||
@@ -259,7 +259,9 @@ void hci_conn_add_sysfs(struct hci_conn *conn) | |||
259 | 259 | ||
260 | BT_DBG("conn %p", conn); | 260 | BT_DBG("conn %p", conn); |
261 | 261 | ||
262 | conn->dev.parent = &hdev->dev; | 262 | conn->dev.bus = &bt_bus; |
263 | conn->dev.parent = &hdev->dev; | ||
264 | |||
263 | conn->dev.release = bt_release; | 265 | conn->dev.release = bt_release; |
264 | 266 | ||
265 | snprintf(conn->dev.bus_id, BUS_ID_SIZE, | 267 | snprintf(conn->dev.bus_id, BUS_ID_SIZE, |