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

Commit 5637e2b5 authored by Antoine Soulier's avatar Antoine Soulier Committed by Gerrit Code Review
Browse files

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

parents ad34da52 dfe02c1a
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 =