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

Commit bcb8cf27 authored by Myles Watson's avatar Myles Watson
Browse files

Allow DualModeController to support newer Commands

Bug: 199421920
Test: cert/run
Tag: #feature
Change-Id: I76fe767e9ffae5286526ef7dd443d734eba9fde2
parent 2b616b85
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -104,9 +104,7 @@ DualModeController::DualModeController(const std::string& properties_filename, u
    uint16_t index = (uint16_t)bluetooth::hci::OpCodeIndex::name;          \
    uint16_t byte_index = index / 10;                                      \
    uint8_t bit = 1 << (index % 10);                                       \
    if (byte_index < 36) {                                                   \
    supported_commands[byte_index] = supported_commands[byte_index] | bit; \
    }                                                                        \
  }

  SET_SUPPORTED(RESET, Reset);