component/bt: Fix bug:update pktlen have no callback
@@ -4910,6 +4910,7 @@ void bta_dm_ble_set_data_length(tBTA_DM_MSG *p_data)
p_data->ble_set_data_length.tx_data_length);
if (status != BTM_SUCCESS) {
APPL_TRACE_ERROR("%s failed\n", __FUNCTION__);
+ }
if (p_data->ble_set_data_length.p_set_pkt_data_cback) {
if (p_acl_cb->data_length_params.tx_len == 0){
uint16_t length = controller_get_interface()->get_acl_data_size_ble();
@@ -4918,7 +4919,7 @@ void bta_dm_ble_set_data_length(tBTA_DM_MSG *p_data)
}
(*p_data->ble_set_data_length.p_set_pkt_data_cback)(status, &p_acl_cb->data_length_params);
}
- }
+
}
/*******************************************************************************
