qcacld-3.0: Fix compilation failure with TWT disabled

Fix the compilation error with TWT compilation flag
disabled.

Change-Id: I0b25d4d3b5e7e1d00e405ce87894a8b84dd381e1
CRs-Fixed: 2856815
This commit is contained in:
Pragaspathi Thilagaraj 2021-01-18 11:36:56 +05:30 • committed by snandini
commit a1421df272

View file

@ -14497,7 +14497,6 @@ static inline void csr_update_sae_config(struct join_req *csr_join_req,
{ }
#endif
#if defined(WLAN_FEATURE_11AX) && defined(WLAN_SUPPORT_TWT)
/**
* csr_get_nss_supported_by_sta_and_ap() - finds out nss from session
* and beacon from AP
@ -14580,6 +14579,7 @@ csr_check_vendor_ap_3_present(struct mac_context *mac_ctx, uint8_t *ie,
return ret;
}
#if defined(WLAN_FEATURE_11AX) && defined(WLAN_SUPPORT_TWT)
/**
* csr_enable_twt() - Check if its allowed to enable twt for this session
* @ie: pointer to beacon/probe resp ie's