mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
qcacld-3.0: Fix memory corruption of GET_PREFERRED_FREQ_LIST
1. Change pcl_list to uint32_t array. 2. Populate weight freq from pcl_list. 3. Correct the skb allocation size to include attr hdr Change-Id: Iace73efda1ec55b7f12c2ce3bcc1ea3262ad01f8 CRs-Fixed: 2554031
This commit is contained in:
parent
cf57262302
commit
c213d8e885
2 changed files with 11 additions and 12 deletions
|
|
@ -312,7 +312,7 @@ static QDF_STATUS policy_mgr_modify_pcl_based_on_dnbs(
|
|||
uint32_t *pcl_len_org)
|
||||
{
|
||||
uint32_t i, pcl_len = 0;
|
||||
uint8_t pcl_list[QDF_MAX_NUM_CHAN];
|
||||
uint32_t pcl_list[QDF_MAX_NUM_CHAN];
|
||||
uint8_t weight_list[QDF_MAX_NUM_CHAN];
|
||||
bool ok;
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue