diff options
author | 2021-06-10 20:30:16 +0000 | |
---|---|---|
committer | 2021-06-14 03:11:39 +0000 | |
commit | 9e234815b4b6fe9085252d2b9526532b1e5a1fe9 (patch) | |
tree | e9f2613ed3605a38e9f0a0ecd178107197972ebc /build.py | |
parent | 691b78da96992013fdc41849badf4e34344ec6fa (diff) |
Fix incorrect enum comparison of LE close reason
The LE close reason is tGATT_DISCONN_REASON but it's compared against
tHCI_ERROR_CODE. Besides just being different types, they are also
backed by different primitives (u16 for gatt vs u8 for hci). This fails
in stricter build environments (i.e. ChromeOS).
Bug: 187836537
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: I106c9555e82160f5f66fe24acf933b570ce8b821
Diffstat (limited to 'build.py')
0 files changed, 0 insertions, 0 deletions