Loading system/stack/gatt/gatt_cl.cc +2 −0 Original line number Diff line number Diff line Loading @@ -1127,6 +1127,8 @@ void gatt_process_mtu_rsp(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, uint16_t len, if (tcb.pending_user_mtu_exchange_value > tcb.max_user_mtu) { tcb.max_user_mtu = std::min(tcb.pending_user_mtu_exchange_value, tcb.payload_size); } else if (tcb.pending_user_mtu_exchange_value == 0) { tcb.max_user_mtu = tcb.payload_size; } tcb.pending_user_mtu_exchange_value = 0; Loading Loading
system/stack/gatt/gatt_cl.cc +2 −0 Original line number Diff line number Diff line Loading @@ -1127,6 +1127,8 @@ void gatt_process_mtu_rsp(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, uint16_t len, if (tcb.pending_user_mtu_exchange_value > tcb.max_user_mtu) { tcb.max_user_mtu = std::min(tcb.pending_user_mtu_exchange_value, tcb.payload_size); } else if (tcb.pending_user_mtu_exchange_value == 0) { tcb.max_user_mtu = tcb.payload_size; } tcb.pending_user_mtu_exchange_value = 0; Loading