mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Fix kw issue about neighbor_scan_channel_list
CFG_VALID_CHANNEL_LIST_STRING_LEN as array size passed to qdf_uint8_array_parse, which is more big than array size. So pass the actual size - CFG_VALID_CHANNEL_LIST_LEN to that function. Change-Id: I7596c0887147523570450dbac4dba2d03e7fe8b6 CRs-Fixed: 2462613
This commit is contained in:
parent
8dbf4b5654
commit
7f70e38aec
1 changed files with 1 additions and 1 deletions
|
|
@ -1666,7 +1666,7 @@ static void mlme_init_lfr_cfg(struct wlan_objmgr_psoc *psoc,
|
|||
cfg_get(psoc, CFG_LFR_DELAY_BEFORE_VDEV_STOP);
|
||||
qdf_uint8_array_parse(cfg_get(psoc, CFG_LFR_NEIGHBOR_SCAN_CHANNEL_LIST),
|
||||
lfr->neighbor_scan_channel_list,
|
||||
CFG_VALID_CHANNEL_LIST_STRING_LEN,
|
||||
CFG_VALID_CHANNEL_LIST_LEN,
|
||||
&neighbor_scan_chan_list_num);
|
||||
lfr->neighbor_scan_channel_list_num =
|
||||
(uint8_t)neighbor_scan_chan_list_num;
|
||||
|
|
|
|||
Loading…
Reference in a new issue