From 5af93dbfeeb7336934f9713243ebf0ec28c2fd32 Mon Sep 17 00:00:00 2001 From: Andrew Lassalle Date: Fri, 27 Aug 2021 09:42:15 -0700 Subject: [PATCH] broadband-modem-mbim: Fix password on initial EPS bearer settings Currently, we are sending the username twice instead of username and password. Fix the password value. --- src/mm-broadband-modem-mbim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c index 7846a041..376e8d46 100755 --- a/src/mm-broadband-modem-mbim.c +++ b/src/mm-broadband-modem-mbim.c @@ -3126,7 +3126,7 @@ before_set_lte_attach_configuration_query_ready (MbimDevice *device, configurations[i]->user_name = g_strdup (mm_bearer_properties_get_user (config)); g_clear_pointer (&(configurations[i]->password), g_free); - configurations[i]->password = g_strdup (mm_bearer_properties_get_user (config)); + configurations[i]->password = g_strdup (mm_bearer_properties_get_password (config)); configurations[i]->source = MBIM_CONTEXT_SOURCE_USER; configurations[i]->compression = MBIM_COMPRESSION_NONE;