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

Commit 7cc7a5d6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Allow DualModeController to support newer Commands" am: 4043aebe am:...

Merge "Allow DualModeController to support newer Commands" am: 4043aebe am: f0593c92 am: 78039c13 am: f7264dea am: e57daa8d

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1826653

Change-Id: I635baa3e3a111178e100c698348af36a7c35a039
parents 9b1fad6d e57daa8d
Loading
Loading
Loading
Loading
+7 −9
Original line number Original line 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 index = (uint16_t)bluetooth::hci::OpCodeIndex::name;          \
    uint16_t byte_index = index / 10;                                      \
    uint16_t byte_index = index / 10;                                      \
    uint8_t bit = 1 << (index % 10);                                       \
    uint8_t bit = 1 << (index % 10);                                       \
    if (byte_index < 36) {                                                   \
    supported_commands[byte_index] = supported_commands[byte_index] | bit; \
    supported_commands[byte_index] = supported_commands[byte_index] | bit; \
    }                                                                        \
  }
  }


  SET_SUPPORTED(RESET, Reset);
  SET_SUPPORTED(RESET, Reset);