qcacld-3.0: Fix TDLS componentization
With FEATURE_WLAN_TDLS=n, compiler is throwing implicit declaration error of function wlan_tdls_get_features_info. Hence add wlan_tdls_get_features_info stub declaration for FEATURE_WLAN_TDLS=n. Change-Id: Ia9820e630b756befbfda98330be193760a331c93 CRs-Fixed: 3309612
This commit is contained in:

committed by
Madan Koyyalamudi

parent
23626690f2
commit
b55558710e
@@ -89,6 +89,15 @@ wlan_tdls_notify_sta_connect(uint8_t vdev_id,
|
||||
struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
#else
|
||||
|
||||
#ifdef FEATURE_SET
|
||||
static inline
|
||||
void wlan_tdls_get_features_info(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_tdls_features *tdls_feature_set)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline QDF_STATUS wlan_tdls_teardown_links(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
Reference in New Issue
Block a user