Diff between 670951028dc417361db6a2536d2d9a38f0ae783d and 8a8e1fd8b3637b5bf36ecbcccb169ddff456e5d9

Changed Files

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

Full Patch

diff --git a/profiles/network/connection.c b/profiles/network/connection.c
index 97b87d0..170841d 100644
--- a/profiles/network/connection.c
+++ b/profiles/network/connection.c
@@ -216,9 +216,9 @@ static void bnep_conn_cb(char *iface, int err, void *data)
 		goto failed;
 	}
 
+	memcpy(nc->dev, iface, sizeof(nc->dev));
 	info("%s connected", nc->dev);
 
-	memcpy(nc->dev, iface, sizeof(nc->dev));
 	btd_service_connecting_complete(nc->service, 0);
 
 	if (nc->connect)