Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/9] tools/btpclient: Fix setting supported includes includes
@ 2018-02-28 12:41 Grzegorz Kolodziejczyk
  2018-02-28 12:41 ` [PATCH BlueZ 2/9] tools/btpclient: Add support for including tx-power to ad Grzegorz Kolodziejczyk
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Grzegorz Kolodziejczyk @ 2018-02-28 12:41 UTC (permalink / raw)
  To: linux-bluetooth

Included values should be string type instead of address of pointer to
string.
---
 tools/btpclient.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/btpclient.c b/tools/btpclient.c
index 61bde820e..d37232f07 100644
--- a/tools/btpclient.c
+++ b/tools/btpclient.c
@@ -888,19 +888,19 @@ static bool ad_includes_getter(struct l_dbus *dbus,
 	if (ad.tx_power) {
 		const char *str = "tx-power";
 
-		l_dbus_message_builder_append_basic(builder, 's', &str);
+		l_dbus_message_builder_append_basic(builder, 's', str);
 	}
 
 	if (ad.name) {
 		const char *str = "local-name";
 
-		l_dbus_message_builder_append_basic(builder, 's', &str);
+		l_dbus_message_builder_append_basic(builder, 's', str);
 	}
 
 	if (ad.appearance) {
 		const char *str = "appearance";
 
-		l_dbus_message_builder_append_basic(builder, 's', &str);
+		l_dbus_message_builder_append_basic(builder, 's', str);
 	}
 
 	l_dbus_message_builder_leave_array(builder);
-- 
2.13.6


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-03-05  8:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-28 12:41 [PATCH BlueZ 1/9] tools/btpclient: Fix setting supported includes includes Grzegorz Kolodziejczyk
2018-02-28 12:41 ` [PATCH BlueZ 2/9] tools/btpclient: Add support for including tx-power to ad Grzegorz Kolodziejczyk
2018-02-28 12:41 ` [PATCH BlueZ 3/9] tools/btpclient: Remove btp unsupported auth request call Grzegorz Kolodziejczyk
2018-02-28 12:41 ` [PATCH BlueZ 4/9] tools/btpclient: Add btp disconnect handler Grzegorz Kolodziejczyk
2018-02-28 12:41 ` [PATCH BlueZ 5/9] tools/btpclient: Add passkey confirm ev and passkey confirm rsp cmd Grzegorz Kolodziejczyk
2018-02-28 12:41 ` [PATCH BlueZ 6/9] tools/btpclient: Check if dev is connected in device found ev routine Grzegorz Kolodziejczyk
2018-02-28 12:41 ` [PATCH BlueZ 7/9] tools/btpclient: Add solicit uuid16 service list support for ad Grzegorz Kolodziejczyk
2018-02-28 12:41 ` [PATCH BlueZ 8/9] tools/btpclient: Add identity resolve event Grzegorz Kolodziejczyk
2018-02-28 12:41 ` [PATCH BlueZ 9/9] tools/btpclient: Add connect device command Grzegorz Kolodziejczyk
2018-03-05  8:48 ` [PATCH BlueZ 1/9] tools/btpclient: Fix setting supported includes includes Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox