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

Commit 894deb5d authored by Hui Peng's avatar Hui Peng Committed by Automerger Merge Worker
Browse files

tune btm_ble_sec_req_act_text am: 2479fe23

parents 5f0bd2ce 2479fe23
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -32,13 +32,14 @@ typedef enum : uint8_t {
  BTM_BLE_SEC_REQ_ACT_DISCARD = 3,
} tBTM_BLE_SEC_REQ_ACT;

inline std::string btm_ble_sec_req_act_text(
    const tBTM_BLE_SEC_REQ_ACT& action) {
inline std::string btm_ble_sec_req_act_text(const tBTM_BLE_SEC_REQ_ACT action) {
  switch (action) {
    CASE_RETURN_TEXT(BTM_BLE_SEC_REQ_ACT_NONE);
    CASE_RETURN_TEXT(BTM_BLE_SEC_REQ_ACT_ENCRYPT);
    CASE_RETURN_TEXT(BTM_BLE_SEC_REQ_ACT_PAIR);
    CASE_RETURN_TEXT(BTM_BLE_SEC_REQ_ACT_DISCARD);
    default:
      return "UNKNOWN ACTION";
  }
}
/* LE security function from btm_sec.cc */