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

Commit 6eaf42cc authored by Greg Kaiser's avatar Greg Kaiser
Browse files

gatt_db: Fix uuid_to_str for UUID_32

A typo in a conditional had us treating LEN_UUID_32 as
an unknown length in this function.

Change-Id: Iec0190fd70859d9b72295e91798af5fdc4dfae93
parent 10999e0c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -888,7 +888,7 @@ static void uuid_to_str(const tBT_UUID bt_uuid, char *str_buf)

    if (bt_uuid.len == LEN_UUID_16) {
        sprintf(str_buf, "0x%04x", bt_uuid.uu.uuid16);
    } else if (bt_uuid.len == LEN_UUID_16) {
    } else if (bt_uuid.len == LEN_UUID_32) {
        sprintf(str_buf, "0x%08x", bt_uuid.uu.uuid32);
    } else if (bt_uuid.len == LEN_UUID_128)
    {