summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2009-02-17 12:49:37 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-02-17 13:11:08 +0200
commit16362a9db9a33b15ea9b61722eb7463b55f09c91 (patch)
treee87bd83628b10be205d05cfb2f213c711dfc0332 /audio
parentd1f188d4b3822b9ac2bc333f1cb47b54536f6843 (diff)
audio: make *_suspend() use bt_stop_stream_rsp
Diffstat (limited to 'audio')
-rw-r--r--audio/unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/unix.c b/audio/unix.c
index 294155ad..7fc4387f 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)