--- health/hdp_manager.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/health/hdp_manager.c b/health/hdp_manager.c index 60ccf55..b3c10a9 100644 --- a/health/hdp_manager.c +++ b/health/hdp_manager.c @@ -76,7 +76,7 @@ static struct btd_device_driver hdp_device_driver = { int hdp_manager_init(DBusConnection *conn) { - if (hdp_manager_start(conn)) + if (hdp_manager_start(conn) < 0) return -1; connection = dbus_connection_ref(conn); -- 1.7.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html