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

Commit acb6ee5a authored by Zach Johnson's avatar Zach Johnson Committed by Automerger Merge Worker
Browse files

btm_cb.busy_level can never equal BTM_BL_PAGING_STARTED am: 7092e5a3

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

Change-Id: I3e449d56f9b435fa232517e31ede28b13b57a70f
parents 021d9128 7092e5a3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -897,8 +897,7 @@ bool btm_pm_device_in_scan_state(void) {
  /* Scan state-paging, inquiry, and trying to connect */

  /* Check for paging */
  if (btm_cb.is_paging || (!fixed_queue_is_empty(btm_cb.page_queue)) ||
      BTM_BL_PAGING_STARTED == btm_cb.busy_level) {
  if (btm_cb.is_paging || !fixed_queue_is_empty(btm_cb.page_queue)) {
    BTM_TRACE_DEBUG("btm_pm_device_in_scan_state- paging");
    return true;
  }