hcidump: Add ATT parsing for the ATT fixed CID

This commit is contained in:
Johan Hedberg 2011-06-07 10:23:28 +03:00 committed by Marcel Holtmann
parent b8c3c64af3
commit ea8fb0bc76

View File

@ -803,6 +803,11 @@ static void l2cap_parse(int level, struct frame *frm)
p_indent(level, frm);
printf("L2CAP(c): len %d psm %d\n", dlen, psm);
raw_dump(level, frm);
} else if (cid == 0x04) {
if (!p_filter(FILT_ATT))
att_dump(level, frm);
else
raw_dump(level + 1, frm);
} else {
/* Connection oriented channel */