projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a16f96e
)
client: Not output ad service info if no uuid sets
07/204907/1
author
ERAMOTO Masaya
<eramoto.masaya@jp.fujitsu.com>
Fri, 16 Feb 2018 05:51:08 +0000
(14:51 +0900)
committer
Amit Purwar
<amit.purwar@samsung.com>
Mon, 15 Apr 2019 03:28:38 +0000
(08:58 +0530)
Change-Id: I2f3db46b13b7d33a952993dcc1c1421e01b4ce1c
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
client/advertising.c
patch
|
blob
|
history
diff --git
a/client/advertising.c
b/client/advertising.c
index
1a6ffee
..
76a154c
100644
(file)
--- a/
client/advertising.c
+++ b/
client/advertising.c
@@
-546,8
+546,11
@@
void ad_advertise_service(DBusConnection *conn, int argc, char *argv[])
struct ad_data *data;
if (argc < 2 || !strlen(argv[1])) {
- print_uuid(ad.service.uuid);
- bt_shell_hexdump(ad.service.data.data, ad.service.data.len);
+ if (ad.service.uuid) {
+ print_uuid(ad.service.uuid);
+ bt_shell_hexdump(ad.service.data.data,
+ ad.service.data.len);
+ }
return;
}