mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
station: Only set our OCVC if the AP supports it
This commit is contained in:
parent
adceab280b
commit
3d736d4c20
@ -1085,7 +1085,7 @@ build_ie:
|
|||||||
&disable_ocv))
|
&disable_ocv))
|
||||||
disable_ocv = false;
|
disable_ocv = false;
|
||||||
|
|
||||||
info.ocvc = !disable_ocv;
|
info.ocvc = !disable_ocv && bss_info.ocvc;
|
||||||
|
|
||||||
/* Extended Key IDs can only be used if supported by both AP and STA */
|
/* Extended Key IDs can only be used if supported by both AP and STA */
|
||||||
if (wiphy_supports_ext_key_id(wiphy) && bss_info.extended_key_id)
|
if (wiphy_supports_ext_key_id(wiphy) && bss_info.extended_key_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user