[PATCH BlueZ] lib: Rename GAP UUID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cosmetic patch changing the GAP UUID declaration to follow the same
standard of the others GATT based services.
---
 lib/uuid.h   |    2 +-
 src/device.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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);
-- 
1.7.8.6

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux