Commit 8afc29aa 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 6d488f52
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment