qcacld-3.0: Add kernel version check to avoid compilation issues
The structure ieee80211_eht_operation is not present in older kernels. So, add a kernel version check to avoid compilation failure in targets which use older kernels. Change-Id: Id5e5d80e06e783258374465514246cfde9d86177 CRs-Fixed: 3627213
This commit is contained in:

committed by
Rahul Choudhary

parent
a47e84edb9
commit
e79ca695ac
@@ -203,7 +203,8 @@ struct hdd_connection_info {
|
|||||||
#ifdef WLAN_FEATURE_11BE_MLO
|
#ifdef WLAN_FEATURE_11BE_MLO
|
||||||
int32_t ieee_link_id;
|
int32_t ieee_link_id;
|
||||||
#endif
|
#endif
|
||||||
#ifdef WLAN_FEATURE_11BE
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)) && \
|
||||||
|
defined(WLAN_FEATURE_11BE)
|
||||||
struct ieee80211_eht_operation eht_operation;
|
struct ieee80211_eht_operation eht_operation;
|
||||||
uint32_t eht_oper_len;
|
uint32_t eht_oper_len;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user