diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-06-27 17:18:55 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2018-08-21 13:26:08 +0000 |
commit | e93b698c7b20a2c4e63abbc9d58bf3b6f891d467 (patch) | |
tree | 720309fbfb1d096c0746efece48d9d8dc219928b /src | |
parent | 098897778bd6525e4b1b2e1aac67064136f2cae9 (diff) |
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).
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-port-mbim.c | 7 |
1 files changed, 4 insertions, 3 deletions
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, |