[PATCH 3/3] android/gatt: Change name to more approperiate for cache all services

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

 



This changes name of caching function from "primary callback" to "cache
all services".
---
 android/gatt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/android/gatt.c b/android/gatt.c
index 33acf71..9cf4619 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -579,7 +579,7 @@ static struct service *create_service(uint8_t id, bool primary, char *uuid,
 	return s;
 }
 
-static void primary_cb(uint8_t status, GSList *services,
+static void cache_all_srvc(uint8_t status, GSList *services,
 						struct gatt_device *dev)
 {
 	GSList *l;
@@ -1204,7 +1204,7 @@ static void discover_srvc_cb(uint8_t status, GSList *services, void *user_data)
 	struct service *s;
 
 	/* Caching primary and included services from remote */
-	primary_cb(status, services, cb_data->dev);
+	cache_all_srvc(status, services, cb_data->dev);
 
 	/* Send filtered service by uuid */
 	if (cb_data->number) {
-- 
1.9.1

--
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