Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85843
b: refs/heads/master
c: 988d009
h: refs/heads/master
i:
  85841: 41e0f30
  85839: 21f8bb5
v: v3
  • Loading branch information
David S. Miller committed Feb 18, 2008
1 parent 26cce7c commit d0d3370
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: fea5fa875eb235dc186b1f5184eb36abc63e26cc
refs/heads/master: 988d0093f9cb2bf27c299e373f9cbaac47dab2c1
8 changes: 6 additions & 2 deletions trunk/net/bluetooth/hci_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,14 @@ static int __match_tty(struct device *dev, void *data)

static void del_conn(struct work_struct *work)
{
struct device *dev;
struct hci_conn *conn = container_of(work, struct hci_conn, work);

while (dev = device_find_child(&conn->dev, NULL, __match_tty)) {
while (1) {
struct device *dev;

dev = device_find_child(&conn->dev, NULL, __match_tty);
if (!dev)
break;
device_move(dev, NULL);
put_device(dev);
}
Expand Down

0 comments on commit d0d3370

Please sign in to comment.