Diff between 6bc5ba166ac2fe33d1f7972e392f93371647ea59 and ddd7e11402c4b705612b32a58dad43e51e7d3c4e

Changed Files

File Additions Deletions Status
src/mgmt.c +3 -6 modified

Full Patch

diff --git a/src/mgmt.c b/src/mgmt.c
index d2d5da3..8eba551 100644
--- a/src/mgmt.c
+++ b/src/mgmt.c
@@ -129,12 +129,11 @@ static void read_version_complete(int sk, void *buf, size_t len)
 	mgmt_revision = bt_get_le16(&rp->revision);
 	mgmt_version = rp->version;
 
-	info("Bluetooth Management version %u, revision %u", mgmt_version,
-								mgmt_revision);
+	info("Bluetooth management interface %u.%u initialized",
+						mgmt_version, mgmt_revision);
 
 	if (mgmt_version < 1) {
-		error("Version 1 of mgmt needed (kernel has version %u)",
-								mgmt_version);
+		error("Version 1.0 or later of management interface is needed");
 		abort();
 	}
 
@@ -2219,8 +2218,6 @@ int mgmt_setup(void)
 
 	mgmt_sock = dd;
 
-	info("Bluetooth Management interface initialized");
-
 	return 0;
 
 fail: