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

Commit cec3fea9 authored by Chris Manton's avatar Chris Manton
Browse files

Decouple stack/btm/btm_int_types::BTM_PM_ST_ from btm deps

These values are spec driven, not btm driven

Bug: 163134718
Tag: #refactor
Test: gd/cert/run --host

Change-Id: I20cd743600996812ff0d5ef0145d7bf209678017
parent f2fe98fc
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -78,10 +78,10 @@ typedef struct {
} tBTM_CFG;

typedef enum : uint8_t {
  BTM_PM_ST_ACTIVE = BTM_PM_STS_ACTIVE,
  BTM_PM_ST_HOLD = BTM_PM_STS_HOLD,
  BTM_PM_ST_SNIFF = BTM_PM_STS_SNIFF,
  BTM_PM_ST_PARK = BTM_PM_STS_PARK,
  BTM_PM_ST_ACTIVE = HCI_MODE_ACTIVE,  // 0x00
  BTM_PM_ST_HOLD = HCI_MODE_HOLD,      // 0x01
  BTM_PM_ST_SNIFF = HCI_MODE_SNIFF,    // 0x02
  BTM_PM_ST_PARK = HCI_MODE_PARK,      // 0x03
  BTM_PM_ST_PENDING = BTM_PM_STS_PENDING,
  BTM_PM_ST_INVALID = 0xFF
} tPOWER_MODE_STATE;