aboutsummaryrefslogtreecommitdiff
path: root/src/mm-at-serial-port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-at-serial-port.c')
-rw-r--r--src/mm-at-serial-port.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mm-at-serial-port.c b/src/mm-at-serial-port.c
index 2e851464..f795bdd5 100644
--- a/src/mm-at-serial-port.c
+++ b/src/mm-at-serial-port.c
@@ -281,6 +281,7 @@ void
mm_at_serial_port_queue_command (MMAtSerialPort *self,
const char *command,
guint32 timeout_seconds,
+ GCancellable *cancellable,
MMAtSerialResponseFn callback,
gpointer user_data)
{
@@ -297,7 +298,7 @@ mm_at_serial_port_queue_command (MMAtSerialPort *self,
buf,
TRUE,
timeout_seconds,
- NULL,
+ cancellable,
(MMSerialResponseFn) callback,
user_data);
}
@@ -306,6 +307,7 @@ void
mm_at_serial_port_queue_command_cached (MMAtSerialPort *self,
const char *command,
guint32 timeout_seconds,
+ GCancellable *cancellable,
MMAtSerialResponseFn callback,
gpointer user_data)
{
@@ -322,7 +324,7 @@ mm_at_serial_port_queue_command_cached (MMAtSerialPort *self,
buf,
TRUE,
timeout_seconds,
- NULL,
+ cancellable,
(MMSerialResponseFn) callback,
user_data);
}