mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacld-3.0: Avoid un-initialized access to arp rsp_stats
In function wma_get_arp_stats_handler avoid un-initialized access to arp rsp_stats by initializing it to 0s. Change-Id: I95c41f89740bff276ed5c6736b4ad9da3ef6ce87 CRs-Fixed: 2232401
This commit is contained in:
parent
69996014d4
commit
6e45d9ad7a
1 changed files with 1 additions and 1 deletions
|
|
@ -5207,7 +5207,7 @@ int wma_get_arp_stats_handler(void *handle, uint8_t *data,
|
|||
wmi_vdev_get_arp_stats_event_fixed_param *data_event;
|
||||
wmi_vdev_get_connectivity_check_stats *connect_stats_event;
|
||||
uint8_t *buf_ptr;
|
||||
struct rsp_stats rsp;
|
||||
struct rsp_stats rsp = {0};
|
||||
tpAniSirGlobal mac = cds_get_context(QDF_MODULE_ID_PE);
|
||||
|
||||
if (!mac) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue