Commit 69763660 authored by Juho Hamalainen's avatar Juho Hamalainen

Merge branch 'jb48911' into 'master'

Don't try to connect HFP AG if bluetooth service is not available.

See merge request mer-core/ofono!276
parents f56c8a33 d3d77683
......@@ -545,8 +545,8 @@ static int hfp_ag_init(void)
{
DBusConnection *conn = ofono_dbus_get_connection();
hfp_ag_enable(conn);
/* g_dbus_add_service_watch immediately checks for bluetooth service
* and calls connect callback if the service exists. */
service_watch_id = g_dbus_add_service_watch(conn, "org.bluez",
bluez_connect_cb,
bluez_disconnect_cb,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment