瀏覽代碼

qcacmn: Do not reset OCV from RSN cap if AP is non-OCV

Currently driver reset self OCV capability from RSN based
on AP capability which is not required as it may lead to
failure of wifi-cert test case 15.1 that is sta should
advertise self OCV capability irrespective of AP capability.

Fix is not to reset OCV from rsn based on AP
capability to support OCV.

Change-Id: I24cda586ae0f364bb4eb2936985194e01f74875b
CRs-Fixed: 3002963
sheenam monga 3 年之前
父節點
當前提交
296e2e7722
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      umac/mlme/connection_mgr/core/src/wlan_cm_connect.c

+ 0 - 3
umac/mlme/connection_mgr/core/src/wlan_cm_connect.c

@@ -1709,9 +1709,6 @@ cm_resume_connect_after_peer_create(struct cnx_mgr *cm_ctx, wlan_cm_id *cm_id)
 		rsn_caps &= ~WLAN_CRYPTO_RSN_CAP_MFP_REQUIRED;
 		rsn_caps &= ~WLAN_CRYPTO_RSN_CAP_OCV_SUPPORTED;
 	}
-	/* Reset OCV if AP doesnt support */
-	if (!(neg_sec_info->rsn_caps & WLAN_CRYPTO_RSN_CAP_OCV_SUPPORTED))
-		rsn_caps &= ~WLAN_CRYPTO_RSN_CAP_OCV_SUPPORTED;
 
 	/* Update the new caps */
 	wlan_crypto_set_vdev_param(cm_ctx->vdev, WLAN_CRYPTO_PARAM_RSN_CAP,