mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
client: agent: fix agent prompt calls
The password and passphrase processing function calls were switched.
This commit is contained in:
parent
2eb54d4adc
commit
52afe193e6
@ -311,10 +311,10 @@ bool agent_prompt(const char *prompt)
|
|||||||
process_input_username_password(prompt);
|
process_input_username_password(prompt);
|
||||||
break;
|
break;
|
||||||
case AGENT_OP_TYPE_PASSPHRASE:
|
case AGENT_OP_TYPE_PASSPHRASE:
|
||||||
process_input_password(prompt);
|
process_input_passphrase(prompt);
|
||||||
break;
|
break;
|
||||||
case AGENT_OP_TYPE_PASSWORD:
|
case AGENT_OP_TYPE_PASSWORD:
|
||||||
process_input_passphrase(prompt);
|
process_input_password(prompt);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user