From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> connection_connect takes the remote role as parameter not the local one. --- profiles/network/manager.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/profiles/network/manager.c b/profiles/network/manager.c index 06abe1b..06ef9fc 100644 --- a/profiles/network/manager.c +++ b/profiles/network/manager.c @@ -100,8 +100,7 @@ static int connect_profile(struct btd_device *dev, struct btd_profile *profile, req->profile = profile; req->cb = cb; - err = connection_connect(dev, BNEP_SVC_PANU, NULL, connect_profile_cb, - req); + err = connection_connect(dev, id, NULL, connect_profile_cb, req); if (err < 0) { g_free(req); return err; -- 1.7.11.7 -- 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