Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 246933
b: refs/heads/master
c: b86ed36
h: refs/heads/master
i:
  246931: 192aa36
v: v3
  • Loading branch information
Gustavo F. Padovan committed Apr 13, 2011
1 parent a8a6095 commit 41e8f4f
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 78b4a56c28c096a1eb02f1d864eb450eb910e43d
refs/heads/master: b86ed368f1f0b19de1918c57e4b056e73d5613a0
7 changes: 6 additions & 1 deletion trunk/drivers/bluetooth/hci_h4.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,13 @@ static inline int h4_check_data_len(struct h4_struct *h4, int len)
/* Recv data */
static int h4_recv(struct hci_uart *hu, void *data, int count)
{
if (hci_recv_stream_fragment(hu->hdev, data, count) < 0)
int ret;

ret = hci_recv_stream_fragment(hu->hdev, data, count);
if (ret < 0) {
BT_ERR("Frame Reassembly Failed");
return ret;
}

return count;
}
Expand Down

0 comments on commit 41e8f4f

Please sign in to comment.