aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe.h
diff options
context:
space:
mode:
authorDaniele Palmas <dnlplm@gmail.com>2022-05-05 11:29:32 +0200
committerAleksander Morgado <aleksander@aleksander.es>2022-06-19 13:40:48 +0000
commitd6203265c2e38dc50fc7f8b3c2ce85b55937e0a4 (patch)
treec41356b0bce15852bcf452b50ad3751a5ef47663 /src/mm-port-probe.h
parent661a63b37b312e15cf9c3c7265859704740d2d1d (diff)
port-probe: avoid QCDM port probing if not for specific plugins
The QCDM/DIAG port is usually nowadays exclusively used by applications gathering traces from the modem, so avoid port probing and grabbing when plugins set the property MM_PLUGIN_ALLOWED_QCDM. A new property MM_PLUGIN_REQUIRED_QCDM is created for those plugins requiring the QCDM port for properly using a modem.
Diffstat (limited to 'src/mm-port-probe.h')
-rw-r--r--src/mm-port-probe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-port-probe.h b/src/mm-port-probe.h
index 9c2fd893..5dd56a8f 100644
--- a/src/mm-port-probe.h
+++ b/src/mm-port-probe.h
@@ -117,6 +117,7 @@ void mm_port_probe_run (MMPortProbe *self,
gboolean at_send_lf,
const MMPortProbeAtCommand *at_custom_probe,
const MMAsyncMethod *at_custom_init,
+ gboolean qcdm_required,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);