Reworked AT queuing, with queues for send, recv, async recv and sync recv
[hayes-ril.git] / device.c
index f9a55d7..c974f26 100644 (file)
--- a/device.c
+++ b/device.c
@@ -412,7 +412,8 @@ int ril_device_recv_loop(struct ril_device *ril_device_p)
                                ril_recv_log(responses[j]);
                                RIL_LOG_UNLOCK();
 
-                               rc = at_response_expect_status(responses[j]);
+                               // Handle sync
+                               rc = at_sync_response_dequeue(responses[j]);
                                if(rc < 0) {
                                        rc = at_response_queue(responses[j]);
                                        if(rc < 0) {