summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-08-15 20:23:01 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-08-15 20:23:01 +0000
commit773651ca6b577e822c2bc096c4a5dec4f9645054 (patch)
tree81792eb3c686c3c2430fa214d8a3ecbfb7aad497
parent931bfd25641a14b82c6c82db20eeb97bc57fafe6 (diff)
serial: proxy_store - replaced tty by uuid
-rw-r--r--serial/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/storage.c b/serial/storage.c
index 1a867307..f3c070d3 100644
--- a/serial/storage.c
+++ b/serial/storage.c
@@ -108,7 +108,7 @@ int proxy_store(bdaddr_t *src, const char *uuid, const char *tty,
snprintf(key, 32, "%s", tty);
/* tty uuid 00 0x0000 name:termios */
- pos = snprintf(value, size, "%s %d 0x%04X %s:", tty, ch, opts, name);
+ pos = snprintf(value, size, "%s %d 0x%04X %s:", uuid, ch, opts, name);
for (i = 0, pti = (uint8_t *) ti; i < sizeof(struct termios); i++, pti++)
sprintf(value + pos + (i * 2), "%2.2X", *pti);