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

Commit 92646553 authored by Zach Johnson's avatar Zach Johnson
Browse files

inqfilt_active is always true inside btm_set_inq_event_filter

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I21b9d69407bf6261fac03f00139fa32958d4a1fa
parent ef4c201a
Loading
Loading
Loading
Loading
+18 −22
Original line number Diff line number Diff line
@@ -1205,9 +1205,6 @@ static void btm_set_inq_event_filter() {
    return;
  }

  /* Only process the inquiry filter; Ignore the connection filter until it
     is used by the upper layers */
  if (p_inq->inqfilt_active) {
  /* If the set filter was initiated externally (via BTM_SetInqEventFilter),
     call the
     callback function to notify the initiator that it has completed */
@@ -1230,7 +1227,6 @@ static void btm_set_inq_event_filter() {
    }
  }
}
}

/*******************************************************************************
 *