commit 3d736d4c20a2bdbea10b1e20a97d83eeb6140ee3
parent adceab280be96ea3fbca3acec7289fea91cdb341
Author: Denis Kenzior <denkenz@gmail.com>
Date: Fri, 8 Oct 2021 13:33:11 -0500
station: Only set our OCVC if the AP supports it
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/station.c b/src/station.c
@@ -1085,7 +1085,7 @@ build_ie:
&disable_ocv))
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 */
if (wiphy_supports_ext_key_id(wiphy) && bss_info.extended_key_id)