aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lassalle <andrewlassalle@chromium.org>2021-08-27 09:42:15 -0700
committerAndrew Lassalle <andrewlassalle@chromium.org>2021-08-27 09:42:15 -0700
commit5af93dbfeeb7336934f9713243ebf0ec28c2fd32 (patch)
tree76e916c782510f17d5af884386ca6ee7b1ba9929
parenta20f2c052329a0d32ea3fee08e13d92b951f84fc (diff)
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.
-rwxr-xr-xsrc/mm-broadband-modem-mbim.c2
1 files changed, 1 insertions, 1 deletions
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;