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
This commit is contained in:
sheenam monga
2019-06-20 11:44:36 +05:30
committed by nshrivas
parent a41f26e93f
commit 01f1f3e3d6

View File

@@ -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