Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291102
b: refs/heads/master
c: e57d758
h: refs/heads/master
v: v3
  • Loading branch information
Luiz Augusto von Dentz authored and Gustavo F. Padovan committed Mar 8, 2012
1 parent 5509ed4 commit 8005972
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 9498ba7a1d38d42eef4ef6d906ab1743c9f0fd6f
refs/heads/master: e57d758ae8e8f00e80f233c823aeeef34bd92796
6 changes: 3 additions & 3 deletions trunk/net/bluetooth/rfcomm/tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static DEVICE_ATTR(channel, S_IRUGO, show_channel, NULL);
static int rfcomm_dev_add(struct rfcomm_dev_req *req, struct rfcomm_dlc *dlc)
{
struct rfcomm_dev *dev, *entry;
struct list_head *head = &rfcomm_dev_list, *p;
struct list_head *head = &rfcomm_dev_list;
int err = 0;

BT_DBG("id %d channel %d", req->dev_id, req->channel);
Expand All @@ -215,7 +215,7 @@ static int rfcomm_dev_add(struct rfcomm_dev_req *req, struct rfcomm_dlc *dlc)
break;

dev->id++;
head = p;
head = &entry->list;
}
} else {
dev->id = req->dev_id;
Expand All @@ -229,7 +229,7 @@ static int rfcomm_dev_add(struct rfcomm_dev_req *req, struct rfcomm_dlc *dlc)
if (entry->id > dev->id - 1)
break;

head = p;
head = &entry->list;
}
}

Expand Down

0 comments on commit 8005972

Please sign in to comment.