diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-05-24 20:21:16 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-05-24 20:21:16 +0000 |
commit | ac3d15d1a358618400b6cdc15d5abf354e374971 (patch) | |
tree | 32b1510fca827fab25ee42300db5eb99f307d93d /serial | |
parent | d69525e2deed68c332c2dcfaf21c23baeab73755 (diff) |
serial: release the node when device open fails
Diffstat (limited to 'serial')
-rw-r--r-- | serial/manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/serial/manager.c b/serial/manager.c index c57e5eb1..cafe8590 100644 --- a/serial/manager.c +++ b/serial/manager.c @@ -263,6 +263,7 @@ static void open_notify(int fd, int err, void *data) if (err) { /* Max tries exceeded */ + rfcomm_release(pc->id); err_connection_failed(pc->conn, pc->msg, strerror(err)); return; } |