aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-08-08 11:48:47 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2011-08-09 10:21:00 +0300
commit6c9a620e3531297a325b387d4e7908b536256b83 (patch)
tree52e3c4b36c77f51763ddcfc3adfee82063d19aaf
parent0ec493e66fa47669759c8f2502d0c4e5910779e1 (diff)
downloadbluez-hcidump-6c9a620e3531297a325b387d4e7908b536256b83.tar.gz
bluez-hcidump-6c9a620e3531297a325b387d4e7908b536256b83.tar.xz
bluez-hcidump-6c9a620e3531297a325b387d4e7908b536256b83.zip
Fix response for GetCurrentPlayerApplicationSettingValue
According to AVRCP spec there's no player id in response.
-rw-r--r--parser/avrcp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/parser/avrcp.c b/parser/avrcp.c
index 485bb55..f8e4443 100644
--- a/parser/avrcp.c
+++ b/parser/avrcp.c
@@ -612,7 +612,7 @@ response:
printf("ValueCount: 0x%02x\n", num);
for (; num > 0; num--) {
- uint8_t attr, player, value;
+ uint8_t attr, value;
p_indent(level, frm);
@@ -621,11 +621,6 @@ response:
p_indent(level, frm);
- player = get_u8(frm);
- printf("Player: 0x%02x\n", player);
-
- p_indent(level, frm);
-
value = get_u8(frm);
printf("ValueID: 0x%02x (%s)\n", value,
value2str(attr, value));