commit | fa9ac85addc727ad03d5c8879f90839ffbcf619a | [log] [tgz] |
---|---|---|
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | Thu Feb 10 11:41:01 2011 +0100 |
committer | Jaikumar Ganesh <jaikumar@google.com> | Thu Mar 10 16:48:18 2011 -0800 |
tree | 4441624aef4f80548d3472223139dbf002925074 | |
parent | 5b558bb6ce0fc7095106227d76a23f1bae1c3122 [diff] |
hfp: gateway_suspend_stream should trigger a state change When gateway_suspend_stream is called it should change the gateway state machine from PLAYING to CONNECTED.
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 @@ gw->sco = NULL; gw->sco_start_cb = NULL; gw->sco_start_cb_data = NULL; + change_state(dev, GATEWAY_STATE_CONNECTED); }