diff --git a/profiles/network/connection.c b/profiles/network/connection.c
index 77e0a34..5305ace 100644
--- a/profiles/network/connection.c
+++ b/profiles/network/connection.c
struct network_peer *peer = data;
struct network_conn *nc;
char uuid_str[MAX_LEN_UUID_STR];
+ const char *uuid = uuid_str;
bt_uuid_t uuid16, uuid128;
nc = find_connection_by_state(peer->connections, CONNECTED);
bt_uuid_to_uuid128(&uuid16, &uuid128);
bt_uuid_to_string(&uuid128, uuid_str, MAX_LEN_UUID_STR);
- dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &uuid_str);
+ dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &uuid);
return TRUE;
}