AT: dequeue sync requests
[hayes-ril.git] / at.c
diff --git a/at.c b/at.c
index 427292b..2e40c22 100644 (file)
--- a/at.c
+++ b/at.c
@@ -1990,6 +1990,7 @@ request_send:
 
        response = sync_request->response;
 
+       at_sync_request_dequeue(sync_request);
        at_sync_request_free(sync_request);
 
        // Send the next request in the queue