public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] audio: make *_suspend() use bt_stop_stream_rsp
@ 2009-02-17 10:49 Marc-André Lureau
  2009-02-17 11:12 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Marc-André Lureau @ 2009-02-17 10:49 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Marc-André Lureau

---
 audio/unix.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/audio/unix.c b/audio/unix.c
index 294155a..7fc4387 100644
--- a/audio/unix.c
+++ b/audio/unix.c
@@ -352,7 +352,7 @@ static void headset_suspend_complete(struct audio_device *dev, void *user_data)
 {
 	struct unix_client *client = user_data;
 	char buf[BT_SUGGESTED_BUFFER_SIZE];
-	struct bt_start_stream_rsp *rsp = (void *) buf;
+	struct bt_stop_stream_rsp *rsp = (void *) buf;
 
 	if (!dev)
 		goto failed;
@@ -613,7 +613,7 @@ static void a2dp_suspend_complete(struct avdtp *session,
 {
 	struct unix_client *client = user_data;
 	char buf[BT_SUGGESTED_BUFFER_SIZE];
-	struct bt_start_stream_rsp *rsp = (void *) buf;
+	struct bt_stop_stream_rsp *rsp = (void *) buf;
 	struct a2dp_data *a2dp = &client->d.a2dp;
 
 	if (err)
-- 
1.6.1.224.gb56c


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

* Re: [PATCH] audio: make *_suspend() use bt_stop_stream_rsp
  2009-02-17 10:49 [PATCH] audio: make *_suspend() use bt_stop_stream_rsp Marc-André Lureau
@ 2009-02-17 11:12 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2009-02-17 11:12 UTC (permalink / raw)
  To: Marc-André Lureau; +Cc: linux-bluetooth

On Tue, Feb 17, 2009, Marc-André Lureau wrote:
> diff --git a/audio/unix.c b/audio/unix.c
> index 294155a..7fc4387 100644
> --- a/audio/unix.c
> +++ b/audio/unix.c
> @@ -352,7 +352,7 @@ static void headset_suspend_complete(struct audio_device *dev, void *user_data)
>  {
>  	struct unix_client *client = user_data;
>  	char buf[BT_SUGGESTED_BUFFER_SIZE];
> -	struct bt_start_stream_rsp *rsp = (void *) buf;
> +	struct bt_stop_stream_rsp *rsp = (void *) buf;
>  
>  	if (!dev)
>  		goto failed;
> @@ -613,7 +613,7 @@ static void a2dp_suspend_complete(struct avdtp *session,
>  {
>  	struct unix_client *client = user_data;
>  	char buf[BT_SUGGESTED_BUFFER_SIZE];
> -	struct bt_start_stream_rsp *rsp = (void *) buf;
> +	struct bt_stop_stream_rsp *rsp = (void *) buf;
>  	struct a2dp_data *a2dp = &client->d.a2dp;
>  
>  	if (err)

Pushed upstream. Thanks!

Johan

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

end of thread, other threads:[~2009-02-17 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 10:49 [PATCH] audio: make *_suspend() use bt_stop_stream_rsp Marc-André Lureau
2009-02-17 11:12 ` Johan Hedberg

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