From: Daniel Wagner <wagi@monom.org>
To: linux-bluetooth@vger.kernel.org
Cc: Daniel Wagner <daniel.wagner@bmw-carit.de>
Subject: [PATCH] hfp: gateway_suspend_stream should trigger a state change
Date: Thu, 10 Feb 2011 11:41:01 +0100 [thread overview]
Message-ID: <1297334461-23077-1-git-send-email-wagi@monom.org> (raw)
From: Daniel Wagner <daniel.wagner@bmw-carit.de>
When gateway_suspend_stream is called it should change the
gateway state machine from PLAYING to CONNECTED.
---
audio/gateway.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/audio/gateway.c b/audio/gateway.c
index 43a4b02..ec0ec5d 100644
--- a/audio/gateway.c
+++ b/audio/gateway.c
@@ -707,4 +707,5 @@ void gateway_suspend_stream(struct audio_device *dev)
gw->sco = NULL;
gw->sco_start_cb = NULL;
gw->sco_start_cb_data = NULL;
+ change_state(dev, GATEWAY_STATE_CONNECTED);
}
--
1.7.4
next reply other threads:[~2011-02-10 10:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-10 10:41 Daniel Wagner [this message]
2011-02-11 19:49 ` [PATCH] hfp: gateway_suspend_stream should trigger a state change Johan Hedberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1297334461-23077-1-git-send-email-wagi@monom.org \
--to=wagi@monom.org \
--cc=daniel.wagner@bmw-carit.de \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox