port-mbim: use the mbim-proxy by default

This commit is contained in:
Aleksander Morgado
2014-07-27 13:45:10 +02:00
parent 1acfb0ad2f
commit a22681ba99

View File

@@ -85,8 +85,7 @@ mbim_device_open_ready (MbimDevice *mbim_device,
/* Reset the progress flag */
ctx->self->priv->in_progress = FALSE;
if (!mbim_device_open_finish (mbim_device, res, &error)) {
if (!mbim_device_open_full_finish (mbim_device, res, &error)) {
g_clear_object (&ctx->self->priv->mbim_device);
g_simple_async_result_take_error (ctx->result, error);
} else
@@ -110,7 +109,8 @@ mbim_device_new_ready (GObject *unused,
}
/* Now open the MBIM device */
mbim_device_open (ctx->self->priv->mbim_device,
mbim_device_open_full (ctx->self->priv->mbim_device,
MBIM_DEVICE_OPEN_FLAGS_PROXY,
30,
ctx->cancellable,
(GAsyncReadyCallback)mbim_device_open_ready,