Diff between 521e00006ab4e7ff14e5001577a9c216c823b3d1 and f61999e5632115770ceea90ceabd0af7bd13f838
Changed Files
| File | Additions | Deletions | Status |
| src/shared/ad.c | +0 | -5 | modified |
Full Patch
diff --git a/src/shared/ad.c b/src/shared/ad.c
index dfc6b9a..57f0a16 100644
--- a/src/shared/ad.c
+++ b/src/shared/ad.c
@@ -616,11 +616,6 @@ bool bt_ad_add_service_data(struct bt_ad *ad, const bt_uuid_t *uuid, void *data,
new_data->len = len;
- if (bt_ad_has_service_data(ad, new_data)) {
- uuid_destroy(new_data);
- return false;
- }
-
if (queue_push_tail(ad->service_data, new_data))
return true;