Эх сурвалжийг харах

qcacld-3.0: Fix compilation issue about TDLS

TDLS function - mlme_set_tdls_chan_switch_prohibited redefinition
when TDLS feature disabled. This change uses FEATURE_WLAN_TDLS to
avoid compilation issue.

Change-Id: I44ea613ba9112cfcd950c1130ba0d3125293e481
CRs-Fixed: 2838339
Wu Gao 4 жил өмнө
parent
commit
e3fe4c6e34

+ 2 - 0
components/mlme/core/src/wlan_mlme_vdev_mgr_interface.c

@@ -692,6 +692,7 @@ bool mlme_get_bigtk_support(struct wlan_objmgr_vdev *vdev)
 	return mlme_priv->bigtk_vdev_support;
 }
 
+#ifdef FEATURE_WLAN_TDLS
 QDF_STATUS
 mlme_set_tdls_chan_switch_prohibited(struct wlan_objmgr_vdev *vdev, bool val)
 {
@@ -749,6 +750,7 @@ bool mlme_get_tdls_prohibited(struct wlan_objmgr_vdev *vdev)
 
 	return mlme_priv->connect_info.tdls_prohibited;
 }
+#endif
 
 QDF_STATUS
 mlme_set_roam_reason_better_ap(struct wlan_objmgr_vdev *vdev, bool val)