From 771e9f8316e6795d4dacf1ebc333d137ff18a41c Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Date: Tue, 28 Sep 2021 23:17:25 +0200 Subject: [PATCH] at_send_command: call at_next_command on failure --- src/at.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/at.c b/src/at.c index 168f572..399913c 100644 --- a/src/at.c +++ b/src/at.c @@ -70,6 +70,7 @@ gboolean at_send_command(struct EG25Manager *manager) if (len < 0 || len >= sizeof(command)) { g_warning("AT command does not fit into buffer\n"); + at_next_command(manager); return FALSE; }