Diff between 58d1f5ae0f9753941c6fcc754560023cd0dbec64 and 860af44b9dde309a96474293d2e4bbf9068b8bbc

Changed Files

File Additions Deletions Status
src/shared/gatt-client.c +3 -2 modified

Full Patch

diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index be0d3b0..e24c960 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
@@ -562,8 +562,9 @@ static void discover_incl_cb(bool success, uint8_t att_ecode,
 		attr = gatt_db_get_attribute(client->db, start);
 		if (!attr) {
 			util_debug(client->debug_callback, client->debug_data,
-				"Unable to find attribute at 0x%04x", start);
-			goto failed;
+				"Unable to find attribute at 0x%04x: skipping",
+				start);
+			continue;
 		}
 
 		attr = gatt_db_insert_included(client->db, handle, attr);