diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2015-02-06 12:29:53 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2015-02-09 13:30:56 +0100 |
commit | bf8faa2b4050551e076d085476fb2b99e305317a (patch) | |
tree | 77b64ba35fa231328142c8a300b5833418bd429b /android/handsfree-client.c | |
parent | f6e0033abe352ebf6011e52864e74810ddbc9fbb (diff) | |
download | bluez-bf8faa2b4050551e076d085476fb2b99e305317a.tar.gz |
android/handsfree-client: Fix missing connected state notification
There is additional state 'connected' that should be entered when
RFCOMM is connected but before SLC is completed.
Diffstat (limited to 'android/handsfree-client.c')
-rw-r--r-- | android/handsfree-client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/handsfree-client.c b/android/handsfree-client.c index e1f2c1635..0e2bd40a3 100644 --- a/android/handsfree-client.c +++ b/android/handsfree-client.c @@ -1748,6 +1748,8 @@ static void connect_cb(GIOChannel *chan, GError *err, gpointer user_data) goto failed; } + device_set_state(dev, HAL_HF_CLIENT_CONN_STATE_CONNECTED); + return; failed: |