qcacld-3.0: Fix build issues with MLO backport flags

Fix compile error when 5.19 kernel backport flags related
to MLO are not present.

Change-Id: I13b2bfc10e6fce7cb3e2b54280d604b85a7407b9
CRs-Fixed: 3300073
Cette révision appartient à :
Vinod Kumar Pirla
2022-09-26 17:39:57 +05:30
révisé par Madan Koyyalamudi
Parent bd662068a6
révision 2581c0e660

Voir le fichier

@@ -81,7 +81,7 @@ uint8_t *wlan_hdd_get_mld_addr(struct hdd_context *hdd_ctx, uint8_t device_mode)
return mac_info->mld_mac_list[i].mld_addr.bytes;
}
#ifndef CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT
#ifdef CFG80211_IFTYPE_MLO_LINK_SUPPORT
static
void wlan_hdd_register_ml_link(struct hdd_adapter *sta_adapter,
struct hdd_adapter *link_adapter)
@@ -294,7 +294,7 @@ QDF_STATUS hdd_check_for_existing_mldaddr(struct hdd_context *hdd_ctx,
return QDF_STATUS_SUCCESS;
}
#ifndef CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT
#ifdef CFG80211_MLD_MAC_IN_WDEV
static inline
void wlan_hdd_populate_mld_address(struct hdd_adapter *adapter,
uint8_t *mld_addr)