mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
Revert "qcacld-3.0: Fix OOB write in lim_populate_peer_rate_set"
The driver checks the MAX Supported rates and if found greater than MAX_RATES (12 in case of 11b/g), the driver returns failure in populate peer rates, and sends all rates as zero to FW in peer-assoc. This reverts commit I75d5f5b5e7d44665101dae6e095b4adadc1781fb Change-Id: I85d696d3de89ce4f581de7d81542603407a68e87 CRs-Fixed: 2277588
This commit is contained in:
parent
427eeb4e36
commit
faf302ce4d
1 changed files with 1 additions and 1 deletions
|
|
@ -1691,7 +1691,7 @@ lim_populate_peer_rate_set(tpAniSirGlobal pMac,
|
|||
}
|
||||
} else
|
||||
tempRateSet2.numRates = 0;
|
||||
if ((tempRateSet.numRates + tempRateSet2.numRates) >=
|
||||
if ((tempRateSet.numRates + tempRateSet2.numRates) >
|
||||
SIR_MAC_RATESET_EID_MAX) {
|
||||
pe_err("more than 12 rates in CFG");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue