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
Loading
Please register or sign in to comment