Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203861
b: refs/heads/master
c: 305682e
h: refs/heads/master
i:
  203859: f8d53a1
v: v3
  • Loading branch information
João Paulo Rechi Vita authored and Marcel Holtmann committed Jul 21, 2010
1 parent 30fe46e commit 90e09e1
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 8b0dc6dc827fb71efd6c9dfb5c4172b7b5c96cee
refs/heads/master: 305682e8377b0f560d4b885c169a72e6a62331e9
5 changes: 2 additions & 3 deletions trunk/net/bluetooth/l2cap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ static inline void l2cap_do_send(struct sock *sk, struct sk_buff *skb)
hci_send_acl(pi->conn->hcon, skb, 0);
}

static int l2cap_streaming_send(struct sock *sk)
static void l2cap_streaming_send(struct sock *sk)
{
struct sk_buff *skb, *tx_skb;
struct l2cap_pinfo *pi = l2cap_pi(sk);
Expand Down Expand Up @@ -1450,7 +1450,6 @@ static int l2cap_streaming_send(struct sock *sk)
skb = skb_dequeue(TX_QUEUE(sk));
kfree_skb(skb);
}
return 0;
}

static void l2cap_retransmit_one_frame(struct sock *sk, u8 tx_seq)
Expand Down Expand Up @@ -1866,7 +1865,7 @@ static int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct ms
}

if (pi->mode == L2CAP_MODE_STREAMING) {
err = l2cap_streaming_send(sk);
l2cap_streaming_send(sk);
} else {
if (pi->conn_state & L2CAP_CONN_REMOTE_BUSY &&
pi->conn_state && L2CAP_CONN_WAIT_F) {
Expand Down

0 comments on commit 90e09e1

Please sign in to comment.