aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJarvis-Jiang-G <83380603+Jarvis-Jiang-G@users.noreply.github.com>2021-05-31 17:19:50 +0800
committerJarvis-Jiang-G <83380603+Jarvis-Jiang-G@users.noreply.github.com>2021-05-31 17:19:50 +0800
commit52bf2c641171ded9e617022f40497c8984520371 (patch)
tree1931e6e5235b43ab8caaf4840d38706448d93558 /src
parent0b8607bc5dc4cce16ebb7c6a7bd71dfb3032d978 (diff)
mbim: Increase mbim_device_open_full timeout
After fwupd upgrade with mbim-qdu method, MM sometimes generate plugin failed with the regenerated MHI driver. This patch increases the mbim_device_open_full timeout from 30 seconds to 45 seconds to prevent such issue. Signed-off-by: Jarvis Jiang <jarvis.w.jiang@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mm-port-mbim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-port-mbim.c b/src/mm-port-mbim.c
index 02ed636f..695412a2 100644
--- a/src/mm-port-mbim.c
+++ b/src/mm-port-mbim.c
@@ -593,7 +593,7 @@ mbim_device_new_ready (GObject *unused,
/* Now open the MBIM device */
mbim_device_open_full (self->priv->mbim_device,
MBIM_DEVICE_OPEN_FLAGS_PROXY,
- 30,
+ 45,
g_task_get_cancellable (task),
(GAsyncReadyCallback)mbim_device_open_ready,
task);