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

Skip to content
Commit 2ac8ed67 authored by Grace Cham's avatar Grace Cham Committed by Thomas Girardier
Browse files

PDL: rename hci_packages enums

* DirectAdvertisingAddressType::NO_ADDRESS{=>_PROVIDED}
* PacketStatusFlag::NO_DATA{=>_RECEIVED}

libchrome started to include libevent.h from r1033946
(crrev.com/c/3811220) and hence indirectly include netdb.h, which
defines macro NO_DATA and NO_ADDRESS. This causes compile error in floss
when they are used in the enums.

Use NO_ADDRESS_PROVIDED and NO_DATA_RECEIVED to be consistent with the
spec (downloadable from
https://www.bluetooth.com/specifications/specs/core-specification-5-3/,
page 2272 and 1814 respectively)

BUG: 253138188
Tag: #floss
Bug: 245578454
Test: emerge-hatch libchrome floss
Ignore-AOSP-First: Cherry-picked from AOSP
Merged-In: I493017f800ffddab2a24d8cf3324d8e21e96aee0
Change-Id: I493017f800ffddab2a24d8cf3324d8e21e96aee0
parent 2a5fd60c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment