diff options
Diffstat (limited to 'serial')
-rw-r--r-- | serial/port.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/serial/port.c b/serial/port.c index 426107578..42a4f3d27 100644 --- a/serial/port.c +++ b/serial/port.c @@ -121,6 +121,9 @@ static struct serial_port *find_port(GSList *ports, const char *pattern) if (port->dev && !strcmp(port->dev, pattern)) return port; + if (!port->uuid) + continue; + uuid_str = bt_name2string(pattern); if (!uuid_str) continue; |