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>
This commit is contained in:
Jarvis-Jiang-G
2021-05-31 17:19:50 +08:00
parent 0b8607bc5d
commit 52bf2c6411
+1 -1
View File
@@ -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);