Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291023
b: refs/heads/master
c: 70c1f20
h: refs/heads/master
i:
  291021: d8e92e3
  291019: 648b661
  291015: 90c83ae
  291007: b070bd7
v: v3
  • Loading branch information
Marcel Holtmann authored and Johan Hedberg committed Feb 23, 2012
1 parent b9c09d7 commit 85177c9
Show file tree
Hide file tree
Showing 3 changed files with 3 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: e5f0e151426bd83e4852a7a150fc6ad8ee349e69
refs/heads/master: 70c1f20b00495fd25b81be14b263d32648a3d629
2 changes: 1 addition & 1 deletion trunk/net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst)

skb_queue_head_init(&conn->data_q);

INIT_LIST_HEAD(&conn->chan_list);;
INIT_LIST_HEAD(&conn->chan_list);

INIT_DELAYED_WORK(&conn->disc_work, hci_conn_timeout);
setup_timer(&conn->idle_timer, hci_conn_idle, (unsigned long)conn);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1957,7 +1957,7 @@ static int hci_reassembly(struct hci_dev *hdev, int type, void *data,

while (count) {
scb = (void *) skb->cb;
len = min(scb->expect, (__u16)count);
len = min_t(__u16, scb->expect, count);

memcpy(skb_put(skb, len), data, len);

Expand Down

0 comments on commit 85177c9

Please sign in to comment.