qcacld-3.0: Set max number of disabled link to WLAN_UMAC_MLO_MAX_VDEVS
In the transition of set active and inactive link command, the max number of disabled vdev number may be 2. To avoid the overflow the pm_disabled_ml_links array, set array size to WLAN_UMAC_MLO_MAX_VDEVS. Change-Id: I71dd7c752062f4a2de67a89a5d655a2c2e6c9e9b CRs-Fixed: 3618190
This commit is contained in:
committed by
Rahul Choudhary
parent
d58a7b31a4
commit
7d2cd2673e
@@ -65,8 +65,8 @@
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
/* Max MLO VDEVS - 1 as all vdevs cannot be disabled */
|
||||
#define MAX_NUMBER_OF_DISABLE_LINK WLAN_UMAC_MLO_MAX_VDEVS - 1
|
||||
/* Max MLO VDEVS for disabled link table */
|
||||
#define MAX_NUMBER_OF_DISABLE_LINK WLAN_UMAC_MLO_MAX_VDEVS
|
||||
#endif
|
||||
|
||||
/* BIT 0 for low latency and BIT 1 for HIGH TPUT */
|
||||
|
Reference in New Issue
Block a user