From e93b698c7b20a2c4e63abbc9d58bf3b6f891d467 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 27 Jun 2018 17:18:55 +0200 Subject: port-mbim: when opening QMI over MBIM support, request indications We do want to receive QMI indications, as they will be needed for different features (e.g. LOC based GNSS support). --- src/mm-port-mbim.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/mm-port-mbim.c b/src/mm-port-mbim.c index c94a5163..f48ebd8f 100644 --- a/src/mm-port-mbim.c +++ b/src/mm-port-mbim.c @@ -220,9 +220,10 @@ qmi_device_new_ready (GObject *unused, mm_dbg ("[%s] trying to open QMI over MBIM device...", mm_port_get_device (MM_PORT (self))); qmi_device_open (self->priv->qmi_device, - (QMI_DEVICE_OPEN_FLAGS_PROXY | - QMI_DEVICE_OPEN_FLAGS_MBIM | - QMI_DEVICE_OPEN_FLAGS_VERSION_INFO), + (QMI_DEVICE_OPEN_FLAGS_PROXY | + QMI_DEVICE_OPEN_FLAGS_MBIM | + QMI_DEVICE_OPEN_FLAGS_VERSION_INFO | + QMI_DEVICE_OPEN_FLAGS_EXPECT_INDICATIONS), 15, g_task_get_cancellable (task), (GAsyncReadyCallback)qmi_device_open_ready, -- cgit v1.2.3-70-g09d2