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

Skip to content
Commit a81620a2 authored by Grace Cham's avatar Grace Cham
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
Test: emerge-hatch libchrome floss
Change-Id: I493017f800ffddab2a24d8cf3324d8e21e96aee0
parent 27d6d49e
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