Diff between 7c6d0647ee41fc5d464369e50d8e5e04a62ff5f6 and 3df943537a92eb116e861705594848e53e2d2bc0

Changed Files

File Additions Deletions Status
client/advertising.c +2 -0 modified

Full Patch

diff --git a/client/advertising.c b/client/advertising.c
index e500a2e..f1b08c0 100644
--- a/client/advertising.c
+++ b/client/advertising.c
@@ -549,6 +549,8 @@ void ad_advertise_service(DBusConnection *conn, int argc, char *argv[])
 		return;
 	}
 
+	ad_clear_service();
+
 	ad.service.uuid = g_strdup(argv[1]);
 	data = &ad.service.data;