Diff between f4fc77853d4a3f6d493cdc20b1b69612640f6144 and a848ceb0721d9e405f9326441b1958e289c6e81f

Changed Files

File Additions Deletions Status
profiles/network/bnep.c +1 -1 modified

Full Patch

diff --git a/profiles/network/bnep.c b/profiles/network/bnep.c
index c40ed69..927367c 100644
--- a/profiles/network/bnep.c
+++ b/profiles/network/bnep.c
@@ -318,7 +318,7 @@ static gboolean bnep_setup_cb(GIOChannel *chan, GIOCondition cond,
 	if (bnep_connadd(sk, session->src, session->iface) < 0)
 		goto failed;
 
-	if (bnep_if_up(session->iface)) {
+	if (bnep_if_up(session->iface) < 0) {
 		bnep_conndel(&session->dst_addr);
 		goto failed;
 	}