فهرست منبع

qcacld-3.0: Enable Napier TDLS data path

Enable TDLS datapath for napier platform

Change-Id: Id907ab327938a6a9099ce4d02fee49168139d089
CRs-Fixed: 2114824
Kabilan Kannan 7 سال پیش
والد
کامیت
c0e3d58f2a
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      core/hdd/src/wlan_hdd_assoc.c
  2. 2 2
      core/hdd/src/wlan_hdd_main.c

+ 1 - 1
core/hdd/src/wlan_hdd_assoc.c

@@ -1919,8 +1919,8 @@ QDF_STATUS hdd_update_dp_vdev_flags(void *cbk_data,
 		return status;
 
 	psoc = cbk_data;
-	hdd_ctx = container_of(psoc, struct hdd_context, hdd_psoc);
 
+	hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD);
 	if (!hdd_ctx->tdls_nap_active)
 		return status;
 

+ 2 - 2
core/hdd/src/wlan_hdd_main.c

@@ -12048,8 +12048,8 @@ static int hdd_update_tdls_config(struct hdd_context *hdd_ctx)
 	}
 
 	hdd_ctx->tdls_umac_comp_active = true;
-	/* disable napier specific tdls data path */
-	hdd_ctx->tdls_nap_active = false;
+	/* enable napier specific tdls data path */
+	hdd_ctx->tdls_nap_active = true;
 
 	return 0;
 }