From 773651ca6b577e822c2bc096c4a5dec4f9645054 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Wed, 15 Aug 2007 20:23:01 +0000 Subject: serial: proxy_store - replaced tty by uuid --- serial/storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit