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

Commit 6cd20ed5 authored by Chris Manton's avatar Chris Manton
Browse files

gd_acl: Add main/shim/helpers::ToDisconnectReasonFromLegacy

Bug: 166280067
Tag: #refactor
Test: gd/cert/run --host

Change-Id: Ic3229da912e823fc16bda0e377d0b8f08db0d730
parent ae98abc8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -221,6 +221,10 @@ inline tHCI_MODE ToLegacyHciMode(hci::Mode mode) {
  return static_cast<tHCI_MODE>(mode);
}

inline hci::DisconnectReason ToDisconnectReasonFromLegacy(tHCI_STATUS reason) {
  return static_cast<hci::DisconnectReason>(reason);
}

namespace debug {

inline void DumpBtHdr(const BT_HDR* p_buf, const char* token) {