summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-06-27 17:18:55 +0200
committerDan Williams <dcbw@redhat.com>2018-08-21 13:26:08 +0000
commite93b698c7b20a2c4e63abbc9d58bf3b6f891d467 (patch)
tree720309fbfb1d096c0746efece48d9d8dc219928b
parent098897778bd6525e4b1b2e1aac67064136f2cae9 (diff)
downloadModemManager-e93b698c7b20a2c4e63abbc9d58bf3b6f891d467.tar.gz
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).
-rw-r--r--src/mm-port-mbim.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mm-port-mbim.c b/src/mm-port-mbim.c
index c94a51635..f48ebd8fb 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,