Skip to content

Commit c0b060c

Browse files
esp-zhpnebkat
andcommitted
fix(ble/bluedroid): Allow 0 length indications
(cherry picked from commit 9b5a52e) Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com>
1 parent 635e148 commit c0b060c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

components/bt/host/bluedroid/bta/gatt/bta_gatts_act.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,8 +723,6 @@ void bta_gatts_indicate_handle (tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg)
723723
} else {
724724
APPL_TRACE_ERROR("%s, malloc failed", __func__);
725725
}
726-
} else {
727-
APPL_TRACE_ERROR("%s, incorrect length", __func__);
728726
}
729727
(*p_rcb->p_cback)(BTA_GATTS_CONF_EVT, &cb_data);
730728
if (cb_data.req_data.value != NULL) {

0 commit comments

Comments
 (0)