Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75225
b: refs/heads/master
c: 38b7da0
h: refs/heads/master
i:
  75223: f2b0b8c
v: v3
  • Loading branch information
Dave Young authored and David S. Miller committed Dec 30, 2007
1 parent 207e8f4 commit 00a8d77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 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: 2072c228c9a05c004a230620196da7607cdcc5b6
refs/heads/master: 38b7da09cfdb2202f08476d6fb22a47649a177ec
10 changes: 1 addition & 9 deletions trunk/net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,22 +259,14 @@ int hci_conn_del(struct hci_conn *conn)
}

tasklet_disable(&hdev->tx_task);

hci_conn_del_sysfs(conn);

hci_conn_hash_del(hdev, conn);
if (hdev->notify)
hdev->notify(hdev, HCI_NOTIFY_CONN_DEL);

tasklet_enable(&hdev->tx_task);

skb_queue_purge(&conn->data_q);

hci_conn_del_sysfs(conn);
hci_dev_put(hdev);

/* will free via device release */
put_device(&conn->dev);

return 0;
}

Expand Down
1 change: 1 addition & 0 deletions trunk/net/bluetooth/hci_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ static void del_conn(struct work_struct *work)
{
struct hci_conn *conn = container_of(work, struct hci_conn, work);
device_del(&conn->dev);
put_device(&conn->dev);
}

void hci_conn_del_sysfs(struct hci_conn *conn)
Expand Down

0 comments on commit 00a8d77

Please sign in to comment.