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

Commit 2445bad3 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Add accessors for tBTM_CB::tBTM_BLE_CB::wl_state am: 88c9eb13

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

Change-Id: I156f8cc5d347e30c16ea7592e34c2f8f13885dd4
parents eaefddb0 88c9eb13
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -261,6 +261,9 @@ typedef struct {

  /* white list information */
  uint8_t wl_state;
  void set_whitelist_process_in_progress() { wl_state |= BTM_BLE_WL_INIT; }
  void reset_whitelist_process_in_progress() { wl_state &= ~BTM_BLE_WL_INIT; }
  bool is_whitelist_in_progress() const { return wl_state & BTM_BLE_WL_INIT; }

 private:
  enum : uint8_t { /* BLE connection state */