linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] AVRCP: change debug to better reflect packets protocol/profile
@ 2011-09-14  9:16 Luiz Augusto von Dentz
  2011-09-27  8:32 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2011-09-14  9:16 UTC (permalink / raw)
  To: linux-bluetooth

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

---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH BlueZ] AVRCP: change debug to better reflect packets protocol/profile
  2011-09-14  9:16 [PATCH BlueZ] AVRCP: change debug to better reflect packets protocol/profile Luiz Augusto von Dentz
@ 2011-09-27  8:32 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2011-09-27  8:32 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hi Luiz,

On Wed, Sep 14, 2011, Luiz Augusto von Dentz wrote:
> ---
>  audio/avctp.c |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)

Applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-27  8:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-14  9:16 [PATCH BlueZ] AVRCP: change debug to better reflect packets protocol/profile Luiz Augusto von Dentz
2011-09-27  8:32 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).