Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCHv1 1/8] android/haltest: Fix print device name
@ 2013-11-01 13:41 Andrei Emeltchenko
  2013-11-01 13:41 ` [PATCHv1 2/8] android/ipc: Update HAL IPC header Andrei Emeltchenko
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Andrei Emeltchenko @ 2013-11-01 13:41 UTC (permalink / raw)
  To: linux-bluetooth

From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

---
 android/client/textconv.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/android/client/textconv.c b/android/client/textconv.c
index effd1b3..8e6bdb9 100644
--- a/android/client/textconv.c
+++ b/android/client/textconv.c
@@ -258,8 +258,7 @@ char *btproperty2str(const bt_property_t *property)
 	switch (property->type) {
 	case BT_PROPERTY_BDNAME:
 	case BT_PROPERTY_REMOTE_FRIENDLY_NAME:
-		sprintf(p, "%*s", property->len,
-					((bt_bdname_t *) property->val)->name);
+		sprintf(p, "%s", ((bt_bdname_t *) property->val)->name);
 		break;
 
 	case BT_PROPERTY_BDADDR:
-- 
1.7.10.4


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

end of thread, other threads:[~2013-11-01 14:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-01 13:41 [PATCHv1 1/8] android/haltest: Fix print device name Andrei Emeltchenko
2013-11-01 13:41 ` [PATCHv1 2/8] android/ipc: Update HAL IPC header Andrei Emeltchenko
2013-11-01 13:41 ` [PATCHv1 3/8] android/daemon: Implement mgmt device connected event Andrei Emeltchenko
2013-11-01 13:41 ` [PATCHv1 4/8] android/hal: Handle acl_state_changed event Andrei Emeltchenko
2013-11-01 13:41 ` [PATCHv1 5/8] android/daemon: Add debug handlers for unhandled mgmt event Andrei Emeltchenko
2013-11-01 13:41 ` [PATCHv1 6/8] android/hal: Add debug prints for every HAL callback Andrei Emeltchenko
2013-11-01 13:41 ` [PATCHv1 7/8] android/daemon: Add handler for device disconnected Andrei Emeltchenko
2013-11-01 13:41 ` [PATCHv1 8/8] android/daemon: Refactor sending acl state Andrei Emeltchenko
2013-11-01 14:40   ` Johan Hedberg

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