mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
qcacmn: Fix buffer overflow written in the dp_soc_interrupt_detach
Use sizeof instead of REG_BAND_UNKNOWN to fix buffer overflow written in the dp_soc_interrupt_detach. Change-Id: Iffad59346c487e34632f1c60b2c88e635f6e83a0 CRs-Fixed: 2822433
This commit is contained in:
parent
632f6b3e9e
commit
2c7cff8715
1 changed files with 2 additions and 1 deletions
|
|
@ -2691,7 +2691,8 @@ static void dp_soc_interrupt_detach(struct cdp_soc_t *txrx_soc)
|
|||
}
|
||||
|
||||
qdf_mem_set(&soc->mon_intr_id_lmac_map,
|
||||
REG_BAND_UNKNOWN * sizeof(int), DP_MON_INVALID_LMAC_ID);
|
||||
sizeof(soc->mon_intr_id_lmac_map),
|
||||
DP_MON_INVALID_LMAC_ID);
|
||||
}
|
||||
|
||||
#define AVG_MAX_MPDUS_PER_TID 128
|
||||
|
|
|
|||
Loading…
Reference in a new issue