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).
This commit is contained in:
Aleksander Morgado
2018-06-27 17:18:55 +02:00
committed by Dan Williams
parent 098897778b
commit e93b698c7b

View File

@@ -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,