From dcfe98ad6925368ee514fb03ddc60cc35cc908b7 Mon Sep 17 00:00:00 2001 From: Nebojsa Cvetkovic Date: Sat, 28 Sep 2024 11:55:16 -0700 Subject: [PATCH] fix(ble/bluedroid): Allow 0 length indications --- components/bt/host/bluedroid/bta/gatt/bta_gatts_act.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/bt/host/bluedroid/bta/gatt/bta_gatts_act.c b/components/bt/host/bluedroid/bta/gatt/bta_gatts_act.c index d09eaa96b2..317d7fddb8 100644 --- a/components/bt/host/bluedroid/bta/gatt/bta_gatts_act.c +++ b/components/bt/host/bluedroid/bta/gatt/bta_gatts_act.c @@ -723,8 +723,6 @@ void bta_gatts_indicate_handle (tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg) } else { APPL_TRACE_ERROR("%s, malloc failed", __func__); } - } else { - APPL_TRACE_ERROR("%s, incorrect length", __func__); } (*p_rcb->p_cback)(BTA_GATTS_CONF_EVT, &cb_data); if (cb_data.req_data.value != NULL) {