Diff between f1d0c834ee897b6ea33ca5a90c9fea1ce4c78c05 and 13e787230b7accedc53eeb729e505bf8144fbfb0
Changed Files
| File | Additions | Deletions | Status |
| lib/uuid.c | +2 | -0 | modified |
Full Patch
diff --git a/lib/uuid.c b/lib/uuid.c
index 5c3f986..186a7e6 100644
--- a/lib/uuid.c
+++ b/lib/uuid.c
@@ -84,6 +84,7 @@ void bt_uuid_to_uuid128(const bt_uuid_t *src, bt_uuid_t *dst)
case BT_UUID16:
bt_uuid16_to_uuid128(src, dst);
break;
+ case BT_UUID_UNSPEC:
default:
break;
}
@@ -171,6 +172,7 @@ int bt_uuid_to_string(const bt_uuid_t *uuid, char *str, size_t n)
ntohl(data4), ntohs(data5));
}
break;
+ case BT_UUID_UNSPEC:
default:
snprintf(str, n, "Type of UUID (%x) unknown.", uuid->type);
return -EINVAL; /* Enum type of UUID not set */