tools: Wait an extra second before opening the TTY
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Nov 2012 09:34:43 +0000 (10:34 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Nov 2012 09:34:43 +0000 (10:34 +0100)
tools/tty-redirector.c

index 9aec05c..b015a25 100644 (file)
@@ -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);