mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 18:40:09 +01:00
ifcfg-rh: fill 'auth-alg' with the original value for WPA-PSK
Restore the original value of auth-alg, which can be NULL or 'open'
for WPA-PSK.
https://bugzilla.gnome.org/show_bug.cgi?id=770907
(cherry picked from commit b519b96c4e)
This commit is contained in:
parent
3bb3afbbe1
commit
ee3d814f11
1 changed files with 6 additions and 0 deletions
|
|
@ -3205,6 +3205,12 @@ make_wpa_setting (shvarFile *ifcfg,
|
|||
goto error;
|
||||
}
|
||||
|
||||
g_free (value);
|
||||
|
||||
value = svGetValue (ifcfg, "SECURITYMODE", FALSE);
|
||||
if (NM_IN_STRSET (value, NULL, "open"))
|
||||
g_object_set (wsec, NM_SETTING_WIRELESS_SECURITY_AUTH_ALG, value, NULL);
|
||||
|
||||
g_free (value);
|
||||
return (NMSetting *) wsec;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue