[PATCH BlueZ] AVRCP: change debug to better reflect packets protocol/profile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

---
 audio/avctp.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/audio/avctp.c b/audio/avctp.c
index cf34107..2800a16 100644
--- a/audio/avctp.c
+++ b/audio/avctp.c
@@ -217,17 +217,17 @@ static size_t handle_panel_passthrough(struct avctp *session,
 		if ((operands[0] & 0x7F) != key_map[i].avc)
 			continue;
 
-		DBG("AVRCP: %s %s", key_map[i].name, status);
+		DBG("AV/C: %s %s", key_map[i].name, status);
 
 		key_quirks = session->key_quirks[key_map[i].avc];
 
 		if (key_quirks & QUIRK_NO_RELEASE) {
 			if (!pressed) {
-				DBG("AVRCP: Ignoring release");
+				DBG("AV/C: Ignoring release");
 				break;
 			}
 
-			DBG("AVRCP: treating key press as press + release");
+			DBG("AV/C: treating key press as press + release");
 			send_key(session->uinput, key_map[i].uinput, 1);
 			send_key(session->uinput, key_map[i].uinput, 0);
 			break;
@@ -238,7 +238,7 @@ static size_t handle_panel_passthrough(struct avctp *session,
 	}
 
 	if (key_map[i].name == NULL)
-		DBG("AVRCP: unknown button 0x%02X %s",
+		DBG("AV/C: unknown button 0x%02X %s",
 						operands[0] & 0x7F, status);
 
 done:
@@ -429,7 +429,7 @@ static gboolean session_cb(GIOChannel *chan, GIOCondition cond,
 
 	ret -= sizeof(struct avctp_header);
 	if ((unsigned int) ret < sizeof(struct avc_header)) {
-		error("Too small AVRCP packet");
+		error("Too small AVCTP packet");
 		goto failed;
 	}
 
-- 
1.7.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux