aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-serial-at.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-at.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-at.c')
-rw-r--r--src/mm-port-serial-at.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-port-serial-at.c b/src/mm-port-serial-at.c
index fef910e5..e51f73a5 100644
--- a/src/mm-port-serial-at.c
+++ b/src/mm-port-serial-at.c
@@ -427,6 +427,7 @@ mm_port_serial_at_command (MMPortSerialAt *self,
buf,
timeout_seconds,
allow_cached,
+ FALSE, /* always queued last */
cancellable,
(GAsyncReadyCallback)serial_command_ready,
simple);