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

Commit 07d738d7 authored by Chris Manton's avatar Chris Manton
Browse files

Add Api around tBTM_CB::paging

Towards readable code

Bug: 163134718
Tag: #refactor
Test: acts -tc BleCocTest
Test: ble paired 2 phones

Change-Id: I4428c989124c8b4735162f9e798e96eaee87ce85
parent 316109bf
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -259,7 +259,14 @@ typedef struct {
  bool is_paging;     /* true, if paging is in progess */
  bool is_inquiry;    /* true, if inquiry is in progess */
  fixed_queue_t* page_queue;

  bool paging;
  void set_paging() { paging = true; }
  void reset_paging() { paging = false; }
  bool is_paging_active() const {
    return paging;
  }  // TODO remove all this paging state

  fixed_queue_t* sec_pending_q; /* pending sequrity requests in
                                   tBTM_SEC_QUEUE_ENTRY format */