qcacld-3.0: Fix MLO compilation issue when kernel doesn't support MLO
Currently, ML adapter info is being accessed only 11BE_MLO feature macro. This will result in compilation error when, 11BE_MLO is enabled in the driver but not in the kernel. To resolve this, check for kernel support for 11BE along with driver support for MLO. Change-Id: If3a1f0837483229b94de4036eea5dc08f76f0754 CRs-Fixed: 3115872
This commit is contained in:

committed by
Madan Koyyalamudi

parent
478a1eb123
commit
7dd230773f
@@ -5259,7 +5259,7 @@ hdd_set_mld_address(struct hdd_adapter *adapter, struct hdd_context *hdd_ctx,
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
#if defined(WLAN_FEATURE_11BE_MLO) && defined(CFG80211_11BE_BASIC)
|
||||
static void hdd_update_set_mac_addr_req_ctx(struct hdd_adapter *adapter,
|
||||
void *req_ctx)
|
||||
{
|
||||
|
Reference in New Issue
Block a user