mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacmn: Use qdf_mem_zero for zero initialization, global_lmac_if part
Use qdf_mem_zero for zero initialization, global_lmac_if part. Change-Id: I4780a5127b4033e922b81f3eab7b94585d374679 CRs-Fixed: 2378005
This commit is contained in:
parent
fe681a5c2d
commit
da7eed1532
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
|
|
@ -150,8 +150,8 @@ qdf_export_symbol(wlan_global_lmac_if_open);
|
|||
*/
|
||||
QDF_STATUS wlan_global_lmac_if_close(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
qdf_mem_set(&psoc->soc_cb.tx_ops, sizeof(psoc->soc_cb.tx_ops), 0);
|
||||
qdf_mem_set(&psoc->soc_cb.rx_ops, sizeof(psoc->soc_cb.rx_ops), 0);
|
||||
qdf_mem_zero(&psoc->soc_cb.tx_ops, sizeof(psoc->soc_cb.tx_ops));
|
||||
qdf_mem_zero(&psoc->soc_cb.rx_ops, sizeof(psoc->soc_cb.rx_ops));
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue