Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30177
b: refs/heads/master
c: 57136ca
h: refs/heads/master
i:
  30175: 21c38ba
v: v3
  • Loading branch information
Jesper Juhl authored and Linus Torvalds committed Jun 26, 2006
1 parent 696635a commit e58af5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 81615b624a45621b758380ec45d750483eae281d
refs/heads/master: 57136ca6d57359c7f21a9bbb4a5a0a61eeb53f2b
3 changes: 3 additions & 0 deletions trunk/drivers/bluetooth/dtl1_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ static int dtl1_hci_send_frame(struct sk_buff *skb)
nsh.len = skb->len;

s = bt_skb_alloc(NSHL + skb->len + 1, GFP_ATOMIC);
if (!s)
return -ENOMEM;

skb_reserve(s, NSHL);
memcpy(skb_put(s, skb->len), skb->data, skb->len);
if (skb->len & 0x0001)
Expand Down

0 comments on commit e58af5f

Please sign in to comment.