diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2014-12-28 18:00:36 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-12-28 18:00:36 +0100 |
commit | 73151d13a35c1d784f80ba43d5e08987f9a3d475 (patch) | |
tree | 9a0d4160c288b93982318caa6e09fe1b37db2245 | |
parent | f7f7482b3995228b0c83bb0b03eb231b4a5e8914 (diff) | |
download | ModemManager-aleksander/mbim-not-open-3.tar.gz |
port-qmi: always use QMI proxyaleksander/mbim-not-open-3
We already require libqmi > 1.7.0 in the build.
-rw-r--r-- | src/mm-port-qmi.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mm-port-qmi.c b/src/mm-port-qmi.c index bc5c7384e..cca71b008 100644 --- a/src/mm-port-qmi.c +++ b/src/mm-port-qmi.c @@ -214,13 +214,7 @@ qmi_device_new_ready (GObject *unused, PortOpenContext *ctx) { GError *error = NULL; - QmiDeviceOpenFlags flags = QMI_DEVICE_OPEN_FLAGS_VERSION_INFO; - - /* If possible, try to open the QMI port through the QMI proxy daemon, which - * allows other applications to also talk to the QMI port properly. */ -#if QMI_CHECK_VERSION (1,7,0) - flags |= QMI_DEVICE_OPEN_FLAGS_PROXY; -#endif + QmiDeviceOpenFlags flags = (QMI_DEVICE_OPEN_FLAGS_VERSION_INFO | QMI_DEVICE_OPEN_FLAGS_PROXY); ctx->self->priv->qmi_device = qmi_device_new_finish (res, &error); if (!ctx->self->priv->qmi_device) { |