Diff between 0f791b0cc6d8da278172f7cb3bbc6f4857e4d63b and ffc08888573c26628b304fae1d6614a1dec1c412

Changed Files

File Additions Deletions Status
monitor/avdtp.c +1 -1 modified

Full Patch

diff --git a/monitor/avdtp.c b/monitor/avdtp.c
index 006daf3..f5ef4c0 100644
--- a/monitor/avdtp.c
+++ b/monitor/avdtp.c
@@ -368,7 +368,7 @@ static bool avdtp_discover(struct avdtp_frame *avdtp_frame)
 			print_field("%*cMedia Type: %s (0x%02x)", 2, ' ',
 					mediatype2str(info >> 4), info >> 4);
 			print_field("%*cSEP Type: %s (0x%02x)", 2, ' ',
-						info & 0x04 ? "SNK" : "SRC",
+						info & 0x08 ? "SNK" : "SRC",
 						(info >> 3) & 0x01);
 			print_field("%*cIn use: %s", 2, ' ',
 						seid & 0x02 ? "Yes" : "No");