qcacmn: cleanup key_rsc_counter pointer from set key param

Remove unused param key_rsc_counter of set_key_param
structure, as key_rsc_ctr is used to send key rx sc
counter to fw and rename key_rsc_ctr to key_rsc_counter
as win is using key_rsc_counter.

Change-Id: Id58aabb30d772f8f620ac9f96890fcac0193777b
CRs-Fixed: 3256574
This commit is contained in:
Sheenam Monga
2022-08-24 13:18:00 +05:30
committed by Madan Koyyalamudi
parent 89fbda97fc
commit 46644d2926
3 changed files with 5 additions and 8 deletions

View File

@@ -5401,7 +5401,7 @@ static QDF_STATUS send_setup_install_key_cmd_tlv(wmi_unified_t wmi_handle,
WMI_HOST_IF_MSG_COPY_CHAR_ARRAY((void *)key_data,
(const void *)key_params->key_data,
key_params->key_len);
qdf_mem_copy(&cmd->key_rsc_counter, &key_params->key_rsc_ctr,
qdf_mem_copy(&cmd->key_rsc_counter, &key_params->key_rsc_counter,
sizeof(wmi_key_seq_counter));
cmd->key_len = key_params->key_len;