فهرست منبع

qcacld-3.0: Only zero out reassoc_ft_ie under 11r and open mode

Currently, if it's 11r connection, zero out reassoc_ft_ie in
cm_preauth_success(), it will cause FT roaming failed due to
ft ie loss with reassoc request frame.

Fix is to only zero out reassoc_ft_ie when connection is 11r
and open mode.

Change-Id: I8c1d6ca743b528c4ab0211723a792b14abe5acab
CRs-Fixed: 2976385
Huashan Qu 3 سال پیش
والد
کامیت
c2aa4de42f
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      components/umac/mlme/connection_mgr/core/src/wlan_cm_host_roam_preauth.c

+ 2 - 2
components/umac/mlme/connection_mgr/core/src/wlan_cm_host_roam_preauth.c

@@ -600,7 +600,7 @@ void cm_preauth_success(struct cnx_mgr *cm_ctx, struct wlan_preauth_rsp *rsp)
 						    1, false);
 
 	mlme_priv->connect_info.ft_info.add_mdie = false;
-	if (!is_11r && !cm_is_open_mode(vdev))
+	if (!(is_11r && cm_is_open_mode(vdev)))
 		return;
 
 	qdf_mem_zero(mlme_priv->connect_info.ft_info.reassoc_ft_ie,
@@ -620,7 +620,7 @@ void cm_preauth_success(struct cnx_mgr *cm_ctx, struct wlan_preauth_rsp *rsp)
 	mlme_priv->connect_info.ft_info.reassoc_ie_len =
 			mlme_priv->connect_info.ft_info.ric_ies_length;
 	mlme_priv->connect_info.ft_info.add_mdie = true;
-		return;
+	return;
 
 err:
 	rsp->status = QDF_STATUS_E_ABORTED;