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

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

Only disable BtQualityReports once

Bug: 353619486
Test: mma -j32
Test: manually turn off Bluetooth with an ACL connection
Flag: EXEMPT, null check
Change-Id: Ied901fb531aa01339336e5d1f14358c2e215aa55
parent eb0ea9fa
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -375,7 +375,12 @@ void EnableBtQualityReport(common::PostableContext* to_bind) {

void DisableBtQualityReport() {
  log::info("");
  if (to_bind_ == nullptr) {
    log::warn("Skipping second call (Lifecycle issue).");
    return;
  }
  EnableDisableBtQualityReport(false);
  to_bind_ = nullptr;
}

static void BqrVscCompleteCallback(hci::CommandCompleteView complete);