diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-11-28 10:34:43 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-11-28 10:34:43 +0100 |
commit | 9bcebd97586634c2589723bd6b4255ac28c4cfd0 (patch) | |
tree | e071d171f29fce5f4fce035d3e36868f07bb7317 /tools | |
parent | a2042e442b836ad45c004425fe4d671971981954 (diff) | |
download | ofono-9bcebd97586634c2589723bd6b4255ac28c4cfd0.tar.bz2 |
tools: Wait an extra second before opening the TTY
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tty-redirector.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/tty-redirector.c b/tools/tty-redirector.c index 9aec05c3..b015a259 100644 --- a/tools/tty-redirector.c +++ b/tools/tty-redirector.c @@ -266,6 +266,7 @@ static gboolean accept_handler(GIOChannel *channel, GIOCondition cond, write_file(IFX_RESET_PATH, "1"); sleep(1); write_file(IFX_RESET_PATH, "0"); + sleep(1); } device_fd = open_device(option_device); |