summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Ahuja <sahuja@qti.qualcomm.com>2015-11-16 15:11:39 +0530
committerSatish Singh <ssing@codeaurora.org>2015-11-25 17:26:48 -0800
commita557a00a74102d84a4764082b9c271af56480823 (patch)
tree78c94ff0bb75c9698cec17dcfe38f27d2a473846
parentbef8c10a92c1659967acbdefcef67d37366b34fb (diff)
qcacld-3.0: Increase the rate array for extended rate set.
qcacld-2.0 to qcacld-3.0 propagation Currently while populating ext rate set, local rate array has size as 8.But max 12 ext rates can be copied in this local rate array.If it is greater than 8, then it leads to crash. To resolve this issue, increase the local rate array from 8 to 12. Change-Id: I2097cc4feb7fa669a970de5463130bb4bbf6401c CRs-Fixed: 903816
-rw-r--r--core/mac/src/sys/legacy/src/utils/src/parser_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mac/src/sys/legacy/src/utils/src/parser_api.c b/core/mac/src/sys/legacy/src/utils/src/parser_api.c
index 3062e7561d05..42e618d60671 100644
--- a/core/mac/src/sys/legacy/src/utils/src/parser_api.c
+++ b/core/mac/src/sys/legacy/src/utils/src/parser_api.c
@@ -568,7 +568,7 @@ populate_dot11f_ext_supp_rates(tpAniSirGlobal pMac, uint8_t nChannelNum,
{
tSirRetStatus nSirStatus;
uint32_t nRates = 0;
- uint8_t rates[WNI_CFG_EXTENDED_OPERATIONAL_RATE_SET_LEN];
+ uint8_t rates[SIR_MAC_RATESET_EID_MAX];
/* Use the ext rates present in session entry whenever nChannelNum is set to OPERATIONAL
else use the ext supported rate set from CFG, which is fixed and does not change dynamically and is used for