public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix some error messages in A2DP Source functions.
@ 2009-06-04 14:36 João Paulo Rechi Vita
  2009-06-04 14:48 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: João Paulo Rechi Vita @ 2009-06-04 14:36 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: João Paulo Rechi Vita

Make the messages text refer to correct function that lead to the error.
---
 audio/a2dp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/audio/a2dp.c b/audio/a2dp.c
index 0d2c78d..2c4d047 100644
--- a/audio/a2dp.c
+++ b/audio/a2dp.c
@@ -1448,7 +1448,7 @@ unsigned int a2dp_source_resume(struct avdtp *session, struct a2dp_sep *sep,
 			g_idle_add((GSourceFunc) finalize_resume, setup);
 		break;
 	default:
-		error("SEP in bad state");
+		error("SEP in bad state for resume");
 		goto failed;
 	}
 
@@ -1499,7 +1499,7 @@ unsigned int a2dp_source_suspend(struct avdtp *session, struct a2dp_sep *sep,
 		}
 		break;
 	default:
-		error("SEP in bad state for resume");
+		error("SEP in bad state for suspend");
 		goto failed;
 	}
 
-- 
1.6.0.4


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

end of thread, other threads:[~2009-06-04 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-04 14:36 [PATCH] Fix some error messages in A2DP Source functions João Paulo Rechi Vita
2009-06-04 14:48 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox