mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 02:20:14 +01:00
supplicant/config: Add a comment mentioning global pmf config value
It looks a bit weird on the first glance that we do nothing when NM_SETTING_WIRELESS_SECURITY_PMF_OPTIONAL is used. The reason for this is that we already intialize the global option "pmf" of wpa_supplicant to "1" (optional), so add a brief comment about that here.
This commit is contained in:
parent
6400c33915
commit
dcd032055c
1 changed files with 3 additions and 0 deletions
|
|
@ -1007,6 +1007,9 @@ nm_supplicant_config_add_setting_wireless_security(NMSupplicantConfig *
|
|||
error))
|
||||
return FALSE;
|
||||
|
||||
/* We set the supplicants global "pmf" config value to "1" (optional),
|
||||
* so no need to set it network-specific again if PMF_OPTIONAL is set.
|
||||
*/
|
||||
if (set_pmf
|
||||
&& NM_IN_SET(pmf,
|
||||
NM_SETTING_WIRELESS_SECURITY_PMF_DISABLE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue