Blame SOURCES/0003-bearer-qmi-do-not-pass-a-cancellable-to-start_networ.patch

cf57e8
From 9eac385cf0c0cdcdf6a8764133e3569a68e665d2 Mon Sep 17 00:00:00 2001
cf57e8
From: Lubomir Rintel <lkundrak@v3.sk>
cf57e8
Date: Fri, 3 May 2019 19:40:16 +0200
cf57e8
Subject: [PATCH 3/4] bearer-qmi: do not pass a cancellable to start_network()
cf57e8
cf57e8
If we cancel start_network(), we'll lose the network handle. That means
cf57e8
we won't ever be able to stop the network again, and reconnect the modem
cf57e8
again.
cf57e8
---
cf57e8
 src/mm-bearer-qmi.c | 4 ++--
cf57e8
 1 file changed, 2 insertions(+), 2 deletions(-)
cf57e8
cf57e8
diff --git a/src/mm-bearer-qmi.c b/src/mm-bearer-qmi.c
cf57e8
index f8c6544..10664a8 100644
cf57e8
--- a/src/mm-bearer-qmi.c
cf57e8
+++ b/src/mm-bearer-qmi.c
cf57e8
@@ -1171,7 +1171,7 @@ connect_context_step (ConnectContext *ctx)
cf57e8
         qmi_client_wds_start_network (ctx->client_ipv4,
cf57e8
                                       input,
cf57e8
                                       45,
cf57e8
-                                      ctx->cancellable,
cf57e8
+                                      NULL, /* Disallow cancellation */
cf57e8
                                       (GAsyncReadyCallback)start_network_ready,
cf57e8
                                       ctx);
cf57e8
         qmi_message_wds_start_network_input_unref (input);
cf57e8
@@ -1274,7 +1274,7 @@ connect_context_step (ConnectContext *ctx)
cf57e8
         qmi_client_wds_start_network (ctx->client_ipv6,
cf57e8
                                       input,
cf57e8
                                       45,
cf57e8
-                                      ctx->cancellable,
cf57e8
+                                      NULL, /* Disallow cancellation */
cf57e8
                                       (GAsyncReadyCallback)start_network_ready,
cf57e8
                                       ctx);
cf57e8
         qmi_message_wds_start_network_input_unref (input);
cf57e8
-- 
cf57e8
1.8.3.1
cf57e8