aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-serial-qcdm.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-05-16 18:12:01 +0200
committerDan Williams <dcbw@redhat.com>2019-06-03 03:50:22 +0000
commit8092e301fc55c84a5523a8cb3f75461b53ac2e9a (patch)
treef1f6d0f7070791d1bc65bd299925bc48ef07128c /src/mm-port-serial-qcdm.c
parentc78ba5ea0ad37dcff4c2a5ca3b7bca21526eba08 (diff)
port-serial: allow deciding whether the command is queued last or run next
By default all the commands we were sending through the serial port were added at the tail of the pending queue, but we may want to queue them at the head in very specific cases (e.g. while sending an SMS).
Diffstat (limited to 'src/mm-port-serial-qcdm.c')
-rw-r--r--src/mm-port-serial-qcdm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-port-serial-qcdm.c b/src/mm-port-serial-qcdm.c
index 4d26e398..ec1833f5 100644
--- a/src/mm-port-serial-qcdm.c
+++ b/src/mm-port-serial-qcdm.c
@@ -193,6 +193,7 @@ mm_port_serial_qcdm_command (MMPortSerialQcdm *self,
command,
timeout_seconds,
FALSE, /* never cached */
+ FALSE, /* always queued last */
cancellable,
(GAsyncReadyCallback)serial_command_ready,
task);