[PATCH 1/2] altair,hso,samsung: setup send-delay=0 for probing
Dan Williams
dcbw at redhat.com
Tue May 23 17:20:29 UTC 2017
On Tue, 2017-05-23 at 18:39 +0200, Aleksander Morgado wrote:
> The Altair, Option HSO and Samsung plugins all use the send-delay=0
> setting once the modem object has been created. For consistency, use
> the same setting during port probing.
Tested on an Option 225 and 452, and a Samsung GTY3300. All devices
are still recognized by MM.
Dan
> ---
> plugins/altair/mm-plugin-altair-lte.c | 1 +
> plugins/option/mm-plugin-hso.c | 1 +
> plugins/samsung/mm-plugin-samsung.c | 1 +
> 3 files changed, 3 insertions(+)
>
> diff --git a/plugins/altair/mm-plugin-altair-lte.c
> b/plugins/altair/mm-plugin-altair-lte.c
> index 7f6a7c0b..2338502b 100644
> --- a/plugins/altair/mm-plugin-altair-lte.c
> +++ b/plugins/altair/mm-plugin-altair-lte.c
> @@ -83,6 +83,7 @@ mm_plugin_create (void)
> MM_PLUGIN_CUSTOM_AT_PROBE, custom_at_probe
> ,
> MM_PLUGIN_ALLOWED_SINGLE_AT, TRUE,
> MM_PLUGIN_SEND_LF, TRUE,
> + MM_PLUGIN_SEND_DELAY, 0,
> NULL));
> }
>
> diff --git a/plugins/option/mm-plugin-hso.c b/plugins/option/mm-
> plugin-hso.c
> index 3633cfd4..de42c457 100644
> --- a/plugins/option/mm-plugin-hso.c
> +++ b/plugins/option/mm-plugin-hso.c
> @@ -186,6 +186,7 @@ mm_plugin_create (void)
> MM_PLUGIN_ALLOWED_AT, TRUE,
> MM_PLUGIN_ALLOWED_QCDM, TRUE,
> MM_PLUGIN_CUSTOM_INIT, &custom_init,
> + MM_PLUGIN_SEND_DELAY, 0,
> NULL));
> }
>
> diff --git a/plugins/samsung/mm-plugin-samsung.c
> b/plugins/samsung/mm-plugin-samsung.c
> index 157d286c..9e6aaf94 100644
> --- a/plugins/samsung/mm-plugin-samsung.c
> +++ b/plugins/samsung/mm-plugin-samsung.c
> @@ -65,6 +65,7 @@ mm_plugin_create (void)
> MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems,
> MM_PLUGIN_ALLOWED_PRODUCT_IDS, products,
> MM_PLUGIN_ALLOWED_AT, TRUE,
> + MM_PLUGIN_SEND_DELAY, 0,
> NULL));
> }
>
More information about the ModemManager-devel
mailing list