Diff between 4d00f270b9ff032e17148ebeb66ca60e641de1d2 and e99e5af40209fcc16ebb3ee252c523ca278f9da4

Changed Files

File Additions Deletions Status
android/gatt.c +0 -4 modified

Full Patch

diff --git a/android/gatt.c b/android/gatt.c
index ec4395d..6a580dc 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -1723,10 +1723,6 @@ static void cache_all_srvc_chars(GSList *characteristics, struct queue *q)
 	uint16_t inst_id = 0;
 	bt_uuid_t uuid;
 
-	/* Refresh characteristics cache if already exist */
-	if (!queue_isempty(q))
-		queue_remove_all(q, NULL, NULL, destroy_characteristic);
-
 	for (; characteristics; characteristics = characteristics->next) {
 		struct characteristic *ch;