summaryrefslogtreecommitdiff
path: root/monitor/avdtp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-04-30 17:25:14 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-05-04 16:56:18 -0700
commit6a4248bebc78895903bac5fba2c2970ead1c029d (patch)
tree5136b64e37a00854b7303616c122541630919b53 /monitor/avdtp.c
parente2b0f0d8d63e1223bb714a9efb37e2257818268b (diff)
downloadbluez-6a4248bebc78895903bac5fba2c2970ead1c029d.tar.gz
monitor/avdtp: Fix decoding of reject type
Reject type was not being decoded, so this remove the early return and leave the callback to decode it: < ACL Data TX: Handle 42 flags 0x00 dlen 8 Channel: 64 len 4 [PSM 25 mode Basic (0x00)] {chan 1} AVDTP: Set Configuration (0x03) Response Reject (0x03) type 0x00 label 2 nosp 0 Service Category: Reserved (0x00) Error code: BAD_ACP_SEID (0x12)
Diffstat (limited to 'monitor/avdtp.c')
-rw-r--r--monitor/avdtp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/monitor/avdtp.c b/monitor/avdtp.c
index 9fe72d240..1393d1286 100644
--- a/monitor/avdtp.c
+++ b/monitor/avdtp.c
@@ -715,10 +715,6 @@ static bool avdtp_signalling_packet(struct avdtp_frame *avdtp_frame)
return true;
}
- /* General Reject */
- if ((hdr & 0x03) == 0x03)
- return true;
-
switch (sig_id) {
case AVDTP_DISCOVER:
return avdtp_discover(avdtp_frame);