3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

client: agent: fix agent prompt calls

The password and passphrase processing function calls were switched.
This commit is contained in:
Jason Phan 2019-03-20 03:08:45 -05:00 committed by Denis Kenzior
parent 2eb54d4adc
commit 52afe193e6

View File

@ -311,10 +311,10 @@ bool agent_prompt(const char *prompt)
process_input_username_password(prompt);
break;
case AGENT_OP_TYPE_PASSPHRASE:
process_input_password(prompt);
process_input_passphrase(prompt);
break;
case AGENT_OP_TYPE_PASSWORD:
process_input_passphrase(prompt);
process_input_password(prompt);
break;
}