OCV: Allow connecting MFP incapable OCV STA when OCV is disabled in AP
Skip check to mandate MFP capability for OCV enabled STA when OCV is disabled in AP. This is to improve interoperability with STAs in which OCV capability is advertised incorrectly without advertising MFP when OCV is disabled in AP. Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
This commit is contained in:
parent
5ecb45a41c
commit
a71b100c3b
1 changed files with 1 additions and 1 deletions
|
@ -808,7 +808,7 @@ wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth,
|
||||||
#endif /* CONFIG_SAE */
|
#endif /* CONFIG_SAE */
|
||||||
|
|
||||||
#ifdef CONFIG_OCV
|
#ifdef CONFIG_OCV
|
||||||
if ((data.capabilities & WPA_CAPABILITY_OCVC) &&
|
if (wpa_auth->conf.ocv && (data.capabilities & WPA_CAPABILITY_OCVC) &&
|
||||||
!(data.capabilities & WPA_CAPABILITY_MFPC)) {
|
!(data.capabilities & WPA_CAPABILITY_MFPC)) {
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"Management frame protection required with OCV, but client did not enable it");
|
"Management frame protection required with OCV, but client did not enable it");
|
||||||
|
|
Loading…
Reference in a new issue