Diff between 9f4ce272883135f5bf87d45ce34228e0c33f3936 and 6e2eb99f666ea7084067196472ff8d49e06f90d9
Changed Files
| File | Additions | Deletions | Status |
| src/shared/gatt-client.c | +3 | -0 | modified |
Full Patch
diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index 2e153db..3c2aa29 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
@@ -708,6 +708,9 @@ static void ext_prop_read_cb(bool success, uint8_t att_ecode,
bool discovering;
struct gatt_db_attribute *desc_attr = NULL;
+ if (!success)
+ goto done;
+
util_debug(client->debug_callback, client->debug_data,
"Ext. prop value: 0x%04x", (uint16_t)value[0]);