mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacmn: Use qdf_mem_zero for zero initialization, wmi part
Use qdf_mem_zero for zero initialization, wmi part. Change-Id: Iba71e1692bba8b2e97e487611f8899ebe1b3e325 CRs-Fixed: 2378005
This commit is contained in:
parent
b75e3446b7
commit
a4cb467430
1 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ QDF_STATUS wmi_send_usenol_pdev_param(void *wmi_hdl, bool usenol,
|
|||
if (pdev_idx < 0)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
||||
qdf_mem_set(&pparam, sizeof(pparam), 0);
|
||||
qdf_mem_zero(&pparam, sizeof(pparam));
|
||||
pparam.param_id = wmi_pdev_param_use_nol;
|
||||
pparam.param_value = usenol;
|
||||
|
||||
|
|
@ -108,7 +108,7 @@ wmi_send_subchan_marking_pdev_param(void *wmi_hdl,
|
|||
if (pdev_idx < 0)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
||||
qdf_mem_set(&pparam, sizeof(pparam), 0);
|
||||
qdf_mem_zero(&pparam, sizeof(pparam));
|
||||
pparam.param_id = wmi_pdev_param_sub_channel_marking;
|
||||
pparam.param_value = subchanmark;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue