RIL: return error to requests when freeze is going on
[hayes-ril.git] / at.c
diff --git a/at.c b/at.c
index b0d47c9..427292b 100644 (file)
--- a/at.c
+++ b/at.c
@@ -690,6 +690,8 @@ void at_handling_init(void)
        pthread_mutex_init(&(at_handling.sync_requests_queue.mutex), NULL);
        pthread_mutex_init(&(at_handling.async_requests_queue.mutex), NULL);
 
+       at_handling.freeze = AT_FREEZE_OFF;
+
        // First lock to the queues mutexes
        AT_RESPONSES_QUEUE_LOCK();
        AT_SYNC_QUEUE_LOCK();