mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/btdm_error_length_unit' into 'master'
Component/bt: fix bug for error length unit See merge request !950
This commit is contained in:
parent
ee86c15ab8
commit
baa743c7b9
@ -138,7 +138,7 @@ void btc_gatts_arg_deep_copy(btc_msg_t *msg, void *p_dest, void *p_src)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case BTC_GATTS_ACT_SET_ATTR_VALUE:{
|
case BTC_GATTS_ACT_SET_ATTR_VALUE:{
|
||||||
uint8_t len = src->set_attr_val.length;
|
uint16_t len = src->set_attr_val.length;
|
||||||
if(src->set_attr_val.value){
|
if(src->set_attr_val.value){
|
||||||
dst->set_attr_val.value = (uint8_t *)GKI_getbuf(len);
|
dst->set_attr_val.value = (uint8_t *)GKI_getbuf(len);
|
||||||
if(dst->set_attr_val.value != NULL){
|
if(dst->set_attr_val.value != NULL){
|
||||||
|
@ -554,7 +554,6 @@ void l2cble_process_conn_update_evt (UINT16 handle, UINT8 status, UINT16 conn_in
|
|||||||
tL2C_LCB *p_lcb;
|
tL2C_LCB *p_lcb;
|
||||||
|
|
||||||
L2CAP_TRACE_DEBUG("l2cble_process_conn_update_evt");
|
L2CAP_TRACE_DEBUG("l2cble_process_conn_update_evt");
|
||||||
L2CAP_TRACE_WARNING("l2cble_process_conn_update_evt: status: %d", status);
|
|
||||||
/* See if we have a link control block for the remote device */
|
/* See if we have a link control block for the remote device */
|
||||||
p_lcb = l2cu_find_lcb_by_handle(handle);
|
p_lcb = l2cu_find_lcb_by_handle(handle);
|
||||||
if (!p_lcb) {
|
if (!p_lcb) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user