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.
This commit is contained in:
Lubomir Rintel
2024-05-31 10:46:59 +00:00
committed by Aleksander Morgado
parent 6ca02a3edf
commit 90824b3e87
+1 -1
View File
@@ -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);
}
}