Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 996963b8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Stat-ify stack::gatt::gatt_sec_check_complete"

parents c6f65291 4643d7f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ void gatt_verify_signature(tGATT_TCB& tcb, uint16_t cid, BT_HDR* p_buf) {
 * Returns          void.
 *
 ******************************************************************************/
void gatt_sec_check_complete(bool sec_check_ok, tGATT_CLCB* p_clcb,
static void gatt_sec_check_complete(bool sec_check_ok, tGATT_CLCB* p_clcb,
                                    uint8_t sec_act) {
  if (p_clcb && p_clcb->p_tcb && p_clcb->p_tcb->pending_enc_clcb.empty()) {
    gatt_set_sec_act(p_clcb->p_tcb, GATT_SEC_NONE);
+0 −4
Original line number Diff line number Diff line
@@ -57,10 +57,6 @@ void gatt_enc_cmpl_cback(const RawAddress* bd_addr, tBT_TRANSPORT transport,
void gatt_notify_enc_cmpl(const RawAddress& bd_addr) {
  mock_function_count_map[__func__]++;
}
void gatt_sec_check_complete(bool sec_check_ok, tGATT_CLCB* p_clcb,
                             uint8_t sec_act) {
  mock_function_count_map[__func__]++;
}
void gatt_set_sec_act(tGATT_TCB* p_tcb, tGATT_SEC_ACTION sec_act) {
  mock_function_count_map[__func__]++;
}