summaryrefslogtreecommitdiff
path: root/monitor/rfcomm.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-11-16 22:26:07 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-11-17 14:58:13 +0200
commit477d9c540b45be9f75293ff6f812c0cc18762e18 (patch)
tree0ef09c6f1f11c95ae0cecf4bbcfe2398a6f7821c /monitor/rfcomm.c
parentb1c225b38d44666a930a7b8b7bb8d15172e22813 (diff)
downloadbluez-477d9c540b45be9f75293ff6f812c0cc18762e18.tar.gz
monitor/rfcomm: Fix not printing userdata in UIH frame with credits
> ACL Data RX: Handle 7 flags 0x02 dlen 19 [hci0] 8.723738 Channel: 65 len 15 [PSM 3 mode 0] {chan 1} RFCOMM: Unnumbered Info with Header Check (UIH)(0xef) Address: 0x09 cr 0 dlci 0x02 Control: 0xff poll/final 1 Length: 10 FCS: 0x5c Credits: 1 41 54 2b 43 49 4e 44 3d 3f 0d 5c AT+CIND=?.\
Diffstat (limited to 'monitor/rfcomm.c')
-rw-r--r--monitor/rfcomm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/monitor/rfcomm.c b/monitor/rfcomm.c
index 881ae5e34..b3db98b65 100644
--- a/monitor/rfcomm.c
+++ b/monitor/rfcomm.c
@@ -171,7 +171,6 @@ static bool uih_frame(struct rfcomm_frame *rfcomm_frame, uint8_t indent)
return false;
hdr->credits = credits;
print_field("%*cCredits: %d", indent, ' ', hdr->credits);
- return true;
}
packet_hexdump(frame->data, frame->size);