summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gsmd/gsmd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gsmd/gsmd.c b/src/gsmd/gsmd.c
index 519d553..23add29 100644
--- a/src/gsmd/gsmd.c
+++ b/src/gsmd/gsmd.c
@@ -462,6 +462,9 @@ int main(int argc, char **argv)
fprintf(stderr, "can't initialize UART device\n");
exit(1);
}
+
+ write(fd, "\r");
+ sleep(1);
atcmd_drain(fd);
if (usock_init(&g) < 0) {
personal git repositories of Harald Welte. Your mileage may vary