Diff between 450a2212f5dd4fb6a439cadc086d8912703ff923 and d1d1d4ff9c24f76ae120e3bb8a7d390bee27d739

Changed Files

File Additions Deletions Status
lib/uuid.h +1 -1 modified
src/device.c +1 -1 modified

Full Patch

diff --git a/lib/uuid.h b/lib/uuid.h
index 2c2b351..3bad8cc 100644
--- a/lib/uuid.h
+++ b/lib/uuid.h
@@ -80,7 +80,7 @@ extern "C" {
 
 #define DUN_GW_UUID		"00001103-0000-1000-8000-00805f9b34fb"
 
-#define GAP_SVC_UUID		"00001800-0000-1000-8000-00805f9b34fb"
+#define GAP_UUID		"00001800-0000-1000-8000-00805f9b34fb"
 #define PNP_UUID		"00001200-0000-1000-8000-00805f9b34fb"
 
 typedef struct {
diff --git a/src/device.c b/src/device.c
index dad9c79..f781298 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1894,7 +1894,7 @@ static void primary_cb(GSList *services, guint8 status, gpointer user_data)
 	for (l = services; l; l = l->next) {
 		struct gatt_primary *prim = l->data;
 
-		if (strcmp(prim->uuid, GAP_SVC_UUID) == 0)
+		if (strcmp(prim->uuid, GAP_UUID) == 0)
 			gap_prim = prim;
 
 		uuids = g_slist_append(uuids, prim->uuid);