mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Increase MAX_CFG_INI_ITEMS to 1024
This is a qcacld-2.0 to qcacld-3.0 propagation. Increase the maximum config ini items from 512 to 1024. Change-Id: I5c4958d5c743f1e0b03a4f7b41e21ff9787ccd07 CRs-Fixed: 914336
This commit is contained in:
parent
117e7fbb09
commit
ba3091c366
2 changed files with 4 additions and 5 deletions
|
|
@ -53,7 +53,7 @@
|
|||
#endif
|
||||
|
||||
/* Number of items that can be configured */
|
||||
#define MAX_CFG_INI_ITEMS 512
|
||||
#define MAX_CFG_INI_ITEMS 1024
|
||||
|
||||
/* Defines for all of the things we read from the configuration (registry). */
|
||||
|
||||
|
|
|
|||
|
|
@ -3916,11 +3916,10 @@ static CDF_STATUS hdd_apply_cfg_ini(hdd_context_t *pHddCtx,
|
|||
int i;
|
||||
int rv;
|
||||
|
||||
/* sanity test */
|
||||
if (MAX_CFG_INI_ITEMS < cRegTableEntries) {
|
||||
hddLog(LOGE,
|
||||
"%s: MAX_CFG_INI_ITEMS too small, must be at least %ld",
|
||||
__func__, cRegTableEntries);
|
||||
hddLog(LOGE, FL("MAX_CFG_INI_ITEMS too small, must be at least %ld"),
|
||||
cRegTableEntries);
|
||||
WARN_ON(1);
|
||||
}
|
||||
|
||||
for (idx = 0; idx < cRegTableEntries; idx++, pRegEntry++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue