diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2014-07-27 13:45:10 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-08-22 18:43:20 +0200 |
commit | a22681ba99f8249a5d516dca773b125c0bdf0912 (patch) | |
tree | dcab5a7e064a567a44ac15bbeec8ec13d90473dd | |
parent | 1acfb0ad2f37df03c4d76627792a247750ae0278 (diff) |
port-mbim: use the mbim-proxy by default
-rw-r--r-- | src/mm-port-mbim.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mm-port-mbim.c b/src/mm-port-mbim.c index 4b85ac36..2b649963 100644 --- a/src/mm-port-mbim.c +++ b/src/mm-port-mbim.c @@ -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,11 +109,12 @@ mbim_device_new_ready (GObject *unused, } /* Now open the MBIM device */ - mbim_device_open (ctx->self->priv->mbim_device, - 30, - ctx->cancellable, - (GAsyncReadyCallback)mbim_device_open_ready, - ctx); + mbim_device_open_full (ctx->self->priv->mbim_device, + MBIM_DEVICE_OPEN_FLAGS_PROXY, + 30, + ctx->cancellable, + (GAsyncReadyCallback)mbim_device_open_ready, + ctx); } void |