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

Commit d1f7ed23 authored by Antoine Soulier's avatar Antoine Soulier Committed by Automerger Merge Worker
Browse files

Merge "BT: Correct SBC Bit-pool calculation logic" into main am: 5637e2b5

parents c8649928 5637e2b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -486,7 +486,7 @@ bool A2dpOffloadCodecSbc::BuildConfiguration(
  }

  min_bitpool = std::max(min_bitpool, uint8_t(lcaps.get(kMinimumBitpool)));
  max_bitpool = std::max(max_bitpool, uint8_t(lcaps.get(kMaximumBitpool)));
  max_bitpool = std::min(max_bitpool, uint8_t(lcaps.get(kMaximumBitpool)));

  if (hint) {
    min_bitpool =