OSDN Git Service

Fix bug on Serial.Connect which cause UUID-128 to be interpreted as channel.
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>
Fri, 24 Apr 2009 13:25:20 +0000 (10:25 -0300)
committerJohan Hedberg <johan.hedberg@nokia.com>
Fri, 24 Apr 2009 13:46:22 +0000 (16:46 +0300)
commitf7e6b2cd75ed58daa888216dc186e266e4eebf42
tree7b8a6fa55123533ffc6b1919e80872f81ef1d979
parentf59ea5e814ad90de7e7561d1dc30d2cd0bedb0e6
Fix bug on Serial.Connect which cause UUID-128 to be interpreted as channel.

strtol was generating a valid channel from the given UUID-128 and find_port
would first check if the port channel matches the given pattern.
serial/port.c