Loading system/stack/l2cap/l2c_ble.cc +4 −2 Original line number Diff line number Diff line Loading @@ -532,8 +532,10 @@ void l2cble_process_sig_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) { STREAM_TO_UINT16(timeout, p); /* 0x000A - 0x0C80 */ /* If we are a central, the peripheral wants to update the parameters */ if (p_lcb->IsLinkRoleCentral()) { L2CA_AdjustConnectionIntervals(&min_interval, &max_interval, BTM_BLE_CONN_INT_MIN_LIMIT); L2CA_AdjustConnectionIntervals( &min_interval, &max_interval, osi_property_get_int32("bluetooth.core.le.min_connection_interval", BTM_BLE_CONN_INT_MIN_LIMIT)); if (min_interval < BTM_BLE_CONN_INT_MIN || min_interval > BTM_BLE_CONN_INT_MAX || Loading Loading
system/stack/l2cap/l2c_ble.cc +4 −2 Original line number Diff line number Diff line Loading @@ -532,8 +532,10 @@ void l2cble_process_sig_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) { STREAM_TO_UINT16(timeout, p); /* 0x000A - 0x0C80 */ /* If we are a central, the peripheral wants to update the parameters */ if (p_lcb->IsLinkRoleCentral()) { L2CA_AdjustConnectionIntervals(&min_interval, &max_interval, BTM_BLE_CONN_INT_MIN_LIMIT); L2CA_AdjustConnectionIntervals( &min_interval, &max_interval, osi_property_get_int32("bluetooth.core.le.min_connection_interval", BTM_BLE_CONN_INT_MIN_LIMIT)); if (min_interval < BTM_BLE_CONN_INT_MIN || min_interval > BTM_BLE_CONN_INT_MAX || Loading