From 3d736d4c20a2bdbea10b1e20a97d83eeb6140ee3 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 8 Oct 2021 13:33:11 -0500 Subject: [PATCH] station: Only set our OCVC if the AP supports it --- src/station.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/station.c b/src/station.c index 30335170..bfd69777 100644 --- 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)