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

Ben Chan benchan at chromium.org
Fri Oct 26 17:59:57 UTC 2018


---
 plugins/ublox/mm-broadband-bearer-ublox.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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);
-- 
2.19.1.568.g152ad8e336-goog



More information about the ModemManager-devel mailing list