diff options
author | Frédéric Dalleau <frederic.dalleau@linux.intel.com> | 2011-08-22 17:30:44 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-08-24 14:21:12 +0300 |
commit | 9ce8d3f01e2ae179125ddf92b56214430fd23ef3 (patch) | |
tree | 27c5d5417c370f21ec0297fc9f3d078462568805 /audio/gateway.c | |
parent | 270f3bb47c4fed4f51bc9c2167aa4b3e078ba615 (diff) | |
download | bluez-9ce8d3f01e2ae179125ddf92b56214430fd23ef3.tar.gz |
Set state to "connecting" when AG connects.
This state is used by media.c to trigger pulseaudio configuration.
Diffstat (limited to 'audio/gateway.c')
-rw-r--r-- | audio/gateway.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/gateway.c b/audio/gateway.c index 425ad169d..c3c401998 100644 --- a/audio/gateway.c +++ b/audio/gateway.c @@ -284,6 +284,8 @@ static void rfcomm_connect_cb(GIOChannel *chan, GError *err, goto fail; } + change_state(dev, GATEWAY_STATE_CONNECTING); + sk = g_io_channel_unix_get_fd(chan); gw->rfcomm = g_io_channel_ref(chan); |