Diff between 474535fe97890695483816e832541b460dfa908c and 8a59c6fa75a78f4828bd103cbb64bac16a89bac8
Changed Files
| File | Additions | Deletions | Status |
| android/gatt.c | +3 | -2 | modified |
Full Patch
diff --git a/android/gatt.c b/android/gatt.c
index 9e0ee3f..3a35bd6 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -6156,6 +6156,7 @@ static uint8_t find_info_handle(const uint8_t *cmd, uint16_t cmd_len,
int iterator = 0;
uint16_t start, end;
uint16_t len, queue_len;
+ uint8_t ret = 0;
DBG("");
@@ -6233,13 +6234,13 @@ static uint8_t find_info_handle(const uint8_t *cmd, uint16_t cmd_len,
ATT_FIND_INFO_RESP_FMT_128BIT, adl, rsp,
rsp_size);
if (!len)
- return ATT_ECODE_UNLIKELY;
+ ret = ATT_ECODE_UNLIKELY;
*length = len;
att_data_list_free(adl);
queue_destroy(temp, NULL);
- return 0;
+ return ret;
}
static uint8_t find_by_type_request(const uint8_t *cmd, uint16_t cmd_len,