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

Commit 056835d9 authored by Jack He's avatar Jack He Committed by Automerger Merge Worker
Browse files

BTM: Fix a bit flip in the role change state comparison am: a3728562

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

Change-Id: I1c7612e79da342db961238d68460eb5edbc744ef
parents f8944631 a3728562
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ typedef struct {
  }

  bool is_switch_role_idle() const {
    return switch_role_state_ != BTM_ACL_SWKEY_STATE_IDLE;
    return switch_role_state_ == BTM_ACL_SWKEY_STATE_IDLE;
  }
  bool is_switch_role_encryption_off() const {
    return switch_role_state_ == BTM_ACL_SWKEY_STATE_ENCRYPTION_OFF;