[PATCH] ublox: fix username and password passed to +UAUTHREQ

Dan Williams dcbw at redhat.com
Fri Oct 26 21:22:02 UTC 2018


On Fri, 2018-10-26 at 10:59 -0700, Ben Chan wrote:
> ---
>  plugins/ublox/mm-broadband-bearer-ublox.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

LGTM

> diff --git a/plugins/ublox/mm-broadband-bearer-ublox.c
> b/plugins/ublox/mm-broadband-bearer-ublox.c
> index 1adcaa26..76f307c8 100644
> --- a/plugins/ublox/mm-broadband-bearer-ublox.c
> +++ b/plugins/ublox/mm-broadband-bearer-ublox.c
> @@ -457,8 +457,8 @@ out:
>          cmd = g_strdup_printf ("+UAUTHREQ=%u,%u,%s,%s",
>                                 ctx->cid,
>                                 ublox_auth,
> -                               quoted_password,
> -                               quoted_user);
> +                               quoted_user,
> +                               quoted_password);
>  
>          g_free (quoted_user);
>          g_free (quoted_password);


More information about the ModemManager-devel mailing list