Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85845
b: refs/heads/master
c: 0cd63c8
h: refs/heads/master
i:
  85843: d0d3370
v: v3
  • Loading branch information
Dave Young authored and David S. Miller committed Feb 19, 2008
1 parent 20ef4c8 commit 6a20e99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f789c48448aed74fe1c07af76de8f04adacec7d
refs/heads/master: 0cd63c8089f0f6316df1393c3a93bdbc67ab314d
1 change: 0 additions & 1 deletion trunk/net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ int hci_conn_del(struct hci_conn *conn)
tasklet_enable(&hdev->tx_task);
skb_queue_purge(&conn->data_q);
hci_conn_del_sysfs(conn);
hci_dev_put(hdev);

return 0;
}
Expand Down
3 changes: 3 additions & 0 deletions trunk/net/bluetooth/hci_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ static int __match_tty(struct device *dev, void *data)
static void del_conn(struct work_struct *work)
{
struct hci_conn *conn = container_of(work, struct hci_conn, work);
struct hci_dev *hdev = conn->hdev;

while (1) {
struct device *dev;
Expand All @@ -344,8 +345,10 @@ static void del_conn(struct work_struct *work)
device_move(dev, NULL);
put_device(dev);
}

device_del(&conn->dev);
put_device(&conn->dev);
hci_dev_put(hdev);
}

void hci_conn_del_sysfs(struct hci_conn *conn)
Expand Down

0 comments on commit 6a20e99

Please sign in to comment.