at_send_command: call at_next_command on failure

This commit is contained in:
Xavier Del Campo
2021-09-28 23:17:25 +02:00
parent 9e0d97d2e2
commit 771e9f8316

View File

@@ -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;
}