qcacmn: Fix tlv formation of gtk offload command
Add gtk offload enable/disable macros and use them while copy keys and replay counter. Change-Id: Ifdd776bc0c567d6c815ab5cb3eb212a43889b5a5 CRs-Fixed: 987362
This commit is contained in:

committed by
Vishwajith Upendra

parent
67922e88bf
commit
9500f2eeb4
@@ -7446,7 +7446,7 @@ QDF_STATUS send_gtk_offload_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id,
|
||||
cmd->vdev_id = vdev_id;
|
||||
|
||||
/* Request target to enable GTK offload */
|
||||
if (enable_offload) {
|
||||
if (enable_offload == WMI_GTK_OFFLOAD_ENABLE) {
|
||||
cmd->flags = gtk_offload_opcode;
|
||||
|
||||
/* Copy the keys and replay counter */
|
||||
|
Reference in New Issue
Block a user