diff options
| author | Aleksander Morgado <aleksander@aleksander.es> | 2018-08-13 19:14:30 +0200 |
|---|---|---|
| committer | Aleksander Morgado <aleksander@aleksander.es> | 2018-08-13 19:18:56 +0200 |
| commit | f90d4006140421860ae42bad6a190e2c24a67ba1 (patch) | |
| tree | 8e9126f3d820f5bc61ab461cd9fbe21ee6c2e3fb /plugins/Makefile.am | |
| parent | d21dd6cf1fe93030baa4b8fffe9b7e84d781f186 (diff) | |
| download | ModemManager-aleksander/shared-cinterion.tar.gz | |
cinterion: new 'MMSharedCinterion' interfacealeksander/shared-cinterion
Implement a new interface to keep the code shared between the QMI and
non-QMI modem implementations.
While doing that, also fix the parent interface pointer handling, so
that it isn't a static pointer applicable to all modems, and make it a
per-modem specific pointer. Without this fix, ModemManager would crash
if e.g. running with both a QMI and non-QMI Cinterion modem at the
same time.
The new shared Cinterion logic will be in charge of managing all GPS
sources not already managed by the parent interface. E.g. if the
parent implementation already supports QMI-based GPS location (using
the LOC service for example) prefer that to the custom AT-based
logic.
Diffstat (limited to 'plugins/Makefile.am')
| -rw-r--r-- | plugins/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 42f9340f4..00d014bb7 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -605,8 +605,8 @@ pkglib_LTLIBRARIES += libmm-plugin-cinterion.la libmm_plugin_cinterion_la_SOURCES = \ cinterion/mm-plugin-cinterion.c \ cinterion/mm-plugin-cinterion.h \ - cinterion/mm-common-cinterion.c \ - cinterion/mm-common-cinterion.h \ + cinterion/mm-shared-cinterion.c \ + cinterion/mm-shared-cinterion.h \ cinterion/mm-broadband-modem-cinterion.c \ cinterion/mm-broadband-modem-cinterion.h \ cinterion/mm-broadband-bearer-cinterion.c \ |
