From 01f1f3e3d6540393e5c48eec07f2646b529a8965 Mon Sep 17 00:00:00 2001 From: sheenam monga Date: Thu, 20 Jun 2019 11:44:36 +0530 Subject: [PATCH] qcacld-3.0: Remove macro PMO_KEK_LEN_LEGACY Currently, macro is used instead of destination size to copy KEK pmo_gtk_req to kck and kek of WMI_GTK_OFFLOAD_CMD_fixed_param. Fix is to Copy KEK bytes from pmo_gtk_req same as the size of cmd->kek i.e destination address to avoid macro change if size of cmd->kck changes in future. Change-Id: I06705f25682d950c35a3fb9bd0413ddf46e04ab4 CRs-Fixed: 2477212 --- components/pmo/dispatcher/inc/wlan_pmo_gtk_public_struct.h | 1 - 1 file changed, 1 deletion(-) diff --git a/components/pmo/dispatcher/inc/wlan_pmo_gtk_public_struct.h b/components/pmo/dispatcher/inc/wlan_pmo_gtk_public_struct.h index 4f7795c17d42..41482d9779c3 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_gtk_public_struct.h +++ b/components/pmo/dispatcher/inc/wlan_pmo_gtk_public_struct.h @@ -30,7 +30,6 @@ #define PMO_GTK_OFFLOAD_ENABLE 0 #define PMO_GTK_OFFLOAD_DISABLE 1 -#define PMO_KEK_LEN_LEGACY 16 #define PMO_KEK_LEN 64 #define PMO_KCK_LEN 32 #define PMO_REPLAY_COUNTER_LEN 8