mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
iwd: station: deprecate ManagementFrameProtection
management_frame_protection should now be used instead.
This commit is contained in:
parent
2f8e9b9c53
commit
37369f1d5e
@ -739,8 +739,15 @@ static int station_build_handshake_rsn(struct handshake_state *hs,
|
||||
}
|
||||
|
||||
if (!l_settings_get_uint(settings, "General",
|
||||
"ManagementFrameProtection", &mfp_setting))
|
||||
mfp_setting = 1;
|
||||
"management_frame_protection",
|
||||
&mfp_setting)) {
|
||||
if (!l_settings_get_uint(settings, "General",
|
||||
"ManagementFrameProtection", &mfp_setting)) {
|
||||
mfp_setting = 1;
|
||||
} else
|
||||
l_warn("ManagementFrameProtection option is deprecated "
|
||||
"use 'management_frame_protection'");
|
||||
}
|
||||
|
||||
if (mfp_setting > 2) {
|
||||
l_error("Invalid MFP value, using default of 1");
|
||||
|
Loading…
Reference in New Issue
Block a user