diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2024-05-26 23:59:47 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2024-05-31 10:46:59 +0000 |
commit | 90824b3e87806d55057ed713e4eb694edf3e685a (patch) | |
tree | 611c99c960e961cce2f71463288d4f3e91d4d2d9 /src | |
parent | 6ca02a3edf3cfa2ddfbc78b72da23d81d5995bba (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-bearer-qmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |