Diff between 5c65356cae64ddbc95210deb36ee66430645edf8 and da5b5b0ecb1ead38676768ef78d46449d404bdc0
Changed Files
| File | Additions | Deletions | Status |
| src/shared/ad.c | +1 | -1 | modified |
Full Patch
diff --git a/src/shared/ad.c b/src/shared/ad.c
index d08ce7a..dac381b 100644
--- a/src/shared/ad.c
+++ b/src/shared/ad.c
@@ -1087,7 +1087,7 @@ bool bt_ad_add_name(struct bt_ad *ad, const char *name)
const char *bt_ad_get_name(struct bt_ad *ad)
{
if (!ad)
- return false;
+ return NULL;
return ad->name;
}