Re: [PATCH 1/6] gobi: PERSIST_LOW_POWER instead of LOW_POWER when disabling modem
Ivaylo Dimitrov <[email protected]> Fri, 25 Jul 2025 15:28:25 +0300
| Newsgroups | dev.linux.lists.ofono |
|---|---|
| Message-ID | <[email protected]> |
On 25.07.25 г. 15:19 ч., Ivaylo Dimitrov wrote:
> We don't want modem to auto wake-up when
No idea when the other part of commit description dis-appeared, anyway,
I can send v2 or just use:
"We don't want modem to auto wake-up when disabled"
Regards,
Ivo
> ---
> plugins/gobi.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/plugins/gobi.c b/plugins/gobi.c
> index 52ead377..027c4dba 100644
> --- a/plugins/gobi.c
> +++ b/plugins/gobi.c
> @@ -442,7 +442,7 @@ static void get_oper_mode_cb(struct qmi_result *result, void *user_data)
> switch (data->oper_mode) {
> case QMI_DMS_OPER_MODE_ONLINE:
> param = qmi_param_new_uint8(QMI_DMS_PARAM_OPER_MODE,
> - QMI_DMS_OPER_MODE_LOW_POWER);
> + QMI_DMS_OPER_MODE_PERSIST_LOW_POWER);
> if (!param) {
> shutdown_device(modem);
> return;
> @@ -922,7 +922,7 @@ static int gobi_disable(struct ofono_modem *modem)
> goto out;
>
> param = qmi_param_new_uint8(QMI_DMS_PARAM_OPER_MODE,
> - QMI_DMS_OPER_MODE_LOW_POWER);
> + QMI_DMS_OPER_MODE_PERSIST_LOW_POWER);
> if (!param)
> return -ENOMEM;
>