mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-09 08:22:42 +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",
|
if (!l_settings_get_uint(settings, "General",
|
||||||
"ManagementFrameProtection", &mfp_setting))
|
"management_frame_protection",
|
||||||
|
&mfp_setting)) {
|
||||||
|
if (!l_settings_get_uint(settings, "General",
|
||||||
|
"ManagementFrameProtection", &mfp_setting)) {
|
||||||
mfp_setting = 1;
|
mfp_setting = 1;
|
||||||
|
} else
|
||||||
|
l_warn("ManagementFrameProtection option is deprecated "
|
||||||
|
"use 'management_frame_protection'");
|
||||||
|
}
|
||||||
|
|
||||||
if (mfp_setting > 2) {
|
if (mfp_setting > 2) {
|
||||||
l_error("Invalid MFP value, using default of 1");
|
l_error("Invalid MFP value, using default of 1");
|
||||||
|
Loading…
Reference in New Issue
Block a user