diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-02-11 22:01:18 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-02-11 22:01:18 +0000 |
commit | ca470c662b2b43b6a65762a7f721cb1c0ca17478 (patch) | |
tree | a18c806b5a572911a5a018b61bf17d917fcee4ce /audio | |
parent | a9dc7333cfb0d248d7c8486362bfdfd3a8fb32e5 (diff) |
Update device state when accepting an incomming connection
Diffstat (limited to 'audio')
-rw-r--r-- | audio/headset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/headset.c b/audio/headset.c index 81f24f99..0591a8f8 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -424,6 +424,7 @@ static gboolean server_io_cb(GIOChannel *chan, GIOCondition cond, void *data) debug("Accepted connection from %s, %s", hs_address, hs->object_path); + hs->state = HEADSET_STATE_CONNECTED; hs_signal(hs, "Connected"); return TRUE; |