summaryrefslogtreecommitdiff
path: root/tools/parser/avdtp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2017-07-11 11:30:05 -0700
committerMarcel Holtmann <marcel@holtmann.org>2017-07-11 11:30:05 -0700
commite2ae29f4831abb1b1fc439cf19fada22270fe106 (patch)
treeb674d78c5076345c0d4ca84920443e0c044b5f4a /tools/parser/avdtp.c
parent6a1cfef9e59652d481ace7071fab956d0494c666 (diff)
downloadbluez-e2ae29f4831abb1b1fc439cf19fada22270fe106.tar.gz
tools: Add missing break statements
Diffstat (limited to 'tools/parser/avdtp.c')
-rw-r--r--tools/parser/avdtp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/parser/avdtp.c b/tools/parser/avdtp.c
index 4f535530a..5397a42b0 100644
--- a/tools/parser/avdtp.c
+++ b/tools/parser/avdtp.c
@@ -504,6 +504,7 @@ static inline void get_configuration(int level, uint8_t hdr, struct frame *frm)
switch (hdr & 0x03) {
case 0x00:
acp_seid(level, frm);
+ break;
case 0x02:
capabilities(level, frm);
break;
@@ -571,6 +572,7 @@ static inline void security(int level, uint8_t hdr, struct frame *frm)
switch (hdr & 0x03) {
case 0x00:
acp_seid(level, frm);
+ break;
case 0x02:
hex_dump(level + 1, frm, frm->len);
frm->ptr += frm->len;