Diff between cf724dc131808a310d0726dce045af1a35a594b1 and 7aca4f96009214377cc1d9cfba55a39fd8279e49
Changed Files
| File | Additions | Deletions | Status |
| tools/parser/rfcomm.c | +6 | -1 | modified |
Full Patch
diff --git a/tools/parser/rfcomm.c b/tools/parser/rfcomm.c
index 97710a2..287081c 100644
--- a/tools/parser/rfcomm.c
+++ b/tools/parser/rfcomm.c
@@ -253,7 +253,12 @@ static inline void uih_frame(int level, struct frame *frm, long_frame_head *head
p_indent(level, frm);
printf("RFCOMM(d): UIH: ");
print_rfcomm_hdr(head, frm->ptr, frm->len);
- printf("\n");
+ if (GET_PF(head->control)) {
+ printf("credits %d\n", *(uint8_t *)(frm->ptr));
+ frm->ptr++;
+ frm->len--;
+ } else
+ printf("\n");
frm->len--;
raw_dump(level, frm);