[PATCH 1/2] altair,hso,samsung: setup send-delay=0 for probing

Aleksander Morgado aleksander at aleksander.es
Tue May 30 15:23:38 UTC 2017


On Tue, May 23, 2017 at 6:39 PM, Aleksander Morgado
<aleksander at aleksander.es> 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.

Pushed to git master.

> ---
>  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));
>  }
>
> --
> 2.12.2
>



-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list