Skip to content

Commit

Permalink
fix(ble/bluedroid): Allow 0 length indications
Browse files Browse the repository at this point in the history
  • Loading branch information
nebkat committed Dec 4, 2024
1 parent 030c995 commit 1985fb0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/bt/host/bluedroid/bta/gatt/bta_gatts_act.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1985fb0

Please sign in to comment.