aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-02-17 11:48:54 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-17 13:04:41 +0200
commit60651dea51959587e18ca7e091cc81aa97a44bc4 (patch)
tree11c88898bc961015c067e2cfccd89b21817c40f8
parent8dec911c30cbf0f21b157b08ac52598d490eb810 (diff)
downloadbluez-hcidump-60651dea51959587e18ca7e091cc81aa97a44bc4.tar.gz
bluez-hcidump-60651dea51959587e18ca7e091cc81aa97a44bc4.tar.xz
bluez-hcidump-60651dea51959587e18ca7e091cc81aa97a44bc4.zip
L2CAP: add OBEX support
-rw-r--r--parser/l2cap.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/parser/l2cap.c b/parser/l2cap.c
index 696456a..03aa9f6 100644
--- a/parser/l2cap.c
+++ b/parser/l2cap.c
@@ -1090,6 +1090,13 @@ static void l2cap_parse(int level, struct frame *frm)
raw_dump(level + 1, frm);
break;
+ case SDP_UUID_OBEX:
+ if (!p_filter(FILT_OBEX))
+ obex_dump(level, frm);
+ else
+ raw_dump(level + 1, frm);
+ break;
+
default:
if (p_filter(FILT_L2CAP))
break;