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

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