mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-31 23:42:52 +01:00
eap-md5: Add warning about deprecated settings key
This commit is contained in:
parent
da9b1f785e
commit
5cc60d18cc
@ -125,8 +125,11 @@ static int eap_md5_check_settings(struct l_settings *settings,
|
|||||||
"%sMD5-Secret", prefix);
|
"%sMD5-Secret", prefix);
|
||||||
password = l_settings_get_string(settings, "Security",
|
password = l_settings_get_string(settings, "Security",
|
||||||
password_key_old);
|
password_key_old);
|
||||||
if (password)
|
if (password) {
|
||||||
|
l_warn("Setting '%s' is deprecated, use '%s' instead",
|
||||||
|
password_key_old, password_key);
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
secret = l_queue_find(secrets, eap_secret_info_match,
|
secret = l_queue_find(secrets, eap_secret_info_match,
|
||||||
password_key);
|
password_key);
|
||||||
|
Loading…
Reference in New Issue
Block a user