From 90824b3e87806d55057ed713e4eb694edf3e685a Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Sun, 26 May 2024 23:59:47 +0200 Subject: [PATCH] bearer/qmi: fix a copy'n'paste error Probably not a real issue, given if there's a password there's probably an user name too. --- src/mm-bearer-qmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mm-bearer-qmi.c b/src/mm-bearer-qmi.c index 50413475..4e64e220 100644 --- a/src/mm-bearer-qmi.c +++ b/src/mm-bearer-qmi.c @@ -1330,7 +1330,7 @@ build_start_network_input (ConnectContext *ctx) if (ctx->auth != QMI_WDS_AUTHENTICATION_NONE) { if (ctx->user) qmi_message_wds_start_network_input_set_username (input, ctx->user, NULL); - if (ctx->user) + if (ctx->password) qmi_message_wds_start_network_input_set_password (input, ctx->password, NULL); } }