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

Commit 2479fe23 authored by Hui Peng's avatar Hui Peng
Browse files

tune btm_ble_sec_req_act_text

Bug: 301661850
Test: mma packages/modules/Bluetooth
Change-Id: I527fcbabe2453fe0b0611478000c44e67292b5b5
parent 251409be
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 */