From 8f1eb96ff2d9fe035f655b2fc53a8cafe4fc61c8 Mon Sep 17 00:00:00 2001
From: "Shih-Yuan Lee (FourDollars)" <sylee@canonical.com>
Date: Thu, 24 Sep 2015 16:32:41 +0800
Subject: [PATCH] libmbim-glib: Increase the retry interval to 5 seconds.

Sierra Mobile Broadband EM7455 won't work while the retry interval is
only one second.

https://bugs.freedesktop.org/show_bug.cgi?id=91189

Signed-off-by: Shih-Yuan Lee (FourDollars) <sylee@canonical.com>
---
 src/libmbim-glib/mbim-device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libmbim-glib/mbim-device.c b/src/libmbim-glib/mbim-device.c
index d434665..4c620e1 100644
--- a/src/libmbim-glib/mbim-device.c
+++ b/src/libmbim-glib/mbim-device.c
@@ -1231,7 +1231,7 @@ open_message (DeviceOpenContext *ctx)
                                      ctx->self->priv->max_control_transfer);
     mbim_device_command (ctx->self,
                          request,
-                         1, /* 1s per retry */
+                         5, /* 1s per retry */
                          ctx->cancellable,
                          (GAsyncReadyCallback)open_message_ready,
                          ctx);
-- 
1.9.1