Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190365
b: refs/heads/master
c: 477fffb
h: refs/heads/master
i:
  190363: 6980bde
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Apr 28, 2010
1 parent 68c17df commit ae28197
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 761ed01b35ca32bfd4166cc3862ae80ee33e3a4b
refs/heads/master: 477fffb082920476cc26f238d65538ccb8d601e1
5 changes: 4 additions & 1 deletion trunk/net/bluetooth/l2cap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1626,7 +1626,10 @@ static int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct ms
/* Connectionless channel */
if (sk->sk_type == SOCK_DGRAM) {
skb = l2cap_create_connless_pdu(sk, msg, len);
err = l2cap_do_send(sk, skb);
if (IS_ERR(skb))
err = PTR_ERR(skb);
else
err = l2cap_do_send(sk, skb);
goto done;
}

Expand Down

0 comments on commit ae28197

Please sign in to comment.