summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCidorvan Leite <cidorvan.leite@openbossa.org>2008-04-25 21:49:44 +0000
committerCidorvan Leite <cidorvan.leite@openbossa.org>2008-04-25 21:49:44 +0000
commit615594b3d9c8a403e4f6da8aaa3a3633cae679d8 (patch)
tree53f173391d7d5296e8fb8f64a674d79bbabfa6c4
parent279e85d6da77c74f04e5fc605dd8074bfe56b5a5 (diff)
Fixed remote headset connection state
-rw-r--r--audio/manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/manager.c b/audio/manager.c
index 6154e766..d548bff6 100644
--- a/audio/manager.c
+++ b/audio/manager.c
@@ -1382,6 +1382,7 @@ static void auth_cb(DBusError *derr, void *user_data)
debug("Accepted headset connection from %s for %s",
hs_address, device->path);
+ headset_set_state(device, HEADSET_STATE_CONNECTED);
}
}