qcacmn: Resolve compilation error for TWT APIs

Currently, driver does not use "WLAN_TWT_CONV_SUPPORTED" flag in
TWT APIs declaration. So, for some targets, it causes
compilation failure.

So, this change fixes the compilation issue.

Change-Id: Ie1b92119ef37b85f4c7eb1d0e23e7910eeab3415
CRs-Fixed: 3603668
Esse commit está contido em:
Rahul Gusain
2023-08-31 12:36:09 +05:30
commit de Rahul Choudhary
commit 25a99149d2

Ver arquivo

@@ -26,6 +26,7 @@
#include <wlan_objmgr_psoc_obj.h>
#include <wlan_twt_public_structs.h>
#if defined(WLAN_SUPPORT_TWT) && defined(WLAN_TWT_CONV_SUPPORTED)
/**
* ucfg_twt_cfg_get_requestor() - get TWT requestor
* @psoc: Pointer to global PSOC object
@@ -180,5 +181,5 @@ ucfg_twt_cfg_get_flex_sched(struct wlan_objmgr_psoc *psoc, bool *val)
*val = false;
return QDF_STATUS_SUCCESS;
}
#endif /* WLAN_TWT_CONV_SUPPORTED */
#endif /* _WLAN_TWT_UCFG_EXT_CFG_H_ */