diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-09-15 15:02:45 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-11 09:24:22 +0000 |
commit | 81795f3023a7a03dac5da28fd4b5bf48100a457d (patch) | |
tree | a192909338ccbef83b9f5ad3504abe2e5102de9c /plugins/simtech/mm-plugin-simtech.c | |
parent | 583d53a7dfe5a05ea201ea09f248e15e852bf3b3 (diff) |
simtech: implement GPS support with AT+CGPS
The new logic is available in a new 'MMSharedSimtech' interface which
is implemented both by the generic AT-based MMBroadbandModemSimtech
modem, and by a new QMI-based new MMBroadbandModemQmiSimtech.
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/112
Diffstat (limited to 'plugins/simtech/mm-plugin-simtech.c')
-rw-r--r-- | plugins/simtech/mm-plugin-simtech.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/simtech/mm-plugin-simtech.c b/plugins/simtech/mm-plugin-simtech.c index fb3a7950..79afeb54 100644 --- a/plugins/simtech/mm-plugin-simtech.c +++ b/plugins/simtech/mm-plugin-simtech.c @@ -26,7 +26,7 @@ #include "mm-broadband-modem-simtech.h" #if defined WITH_QMI -#include "mm-broadband-modem-qmi.h" +#include "mm-broadband-modem-qmi-simtech.h" #endif G_DEFINE_TYPE (MMPluginSimtech, mm_plugin_simtech, MM_TYPE_PLUGIN) @@ -48,11 +48,11 @@ create_modem (MMPlugin *self, #if defined WITH_QMI if (mm_port_probe_list_has_qmi_port (probes)) { mm_dbg ("QMI-powered SimTech modem found..."); - return MM_BASE_MODEM (mm_broadband_modem_qmi_new (uid, - drivers, - mm_plugin_get_name (self), - vendor, - product)); + return MM_BASE_MODEM (mm_broadband_modem_qmi_simtech_new (uid, + drivers, + mm_plugin_get_name (self), + vendor, + product)); } #endif |