aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-08-13 19:14:30 +0200
committerDan Williams <dcbw@redhat.com>2018-08-21 17:06:55 +0000
commit59e79c996b4863448f68a262bf8be053416a1344 (patch)
tree160bdf4b1d6bbc69e39a899a10a2df658ebbb511 /libmm-glib/mm-modem.c
parent6e9bf39ecf97aedd8474577811c147b62d37585e (diff)
cinterion: new 'MMSharedCinterion' interface
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 'libmm-glib/mm-modem.c')
0 files changed, 0 insertions, 0 deletions