From 9d76260ac989fa6cbc39c6e3abbce5a6f80a1d4c Mon Sep 17 00:00:00 2001 From: Shiva Sankar Gajula Date: Mon, 4 Feb 2019 14:23:50 +0530 Subject: [PATCH] qcacmn: Fix the KW issue by increasing Max cipher types by 1 Increase the max cipher types by 1 to access WLAN_CRYPTO_CIPHER_NONE crypto ops. Change-Id: I7bfa7e9df73dfe7f8836880bfa0e3934e05f0522 --- umac/cmn_services/crypto/inc/wlan_crypto_global_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umac/cmn_services/crypto/inc/wlan_crypto_global_def.h b/umac/cmn_services/crypto/inc/wlan_crypto_global_def.h index 4288edc0c2fb..17783bdba99a 100644 --- a/umac/cmn_services/crypto/inc/wlan_crypto_global_def.h +++ b/umac/cmn_services/crypto/inc/wlan_crypto_global_def.h @@ -124,7 +124,7 @@ typedef enum wlan_crypto_cipher_type { WLAN_CRYPTO_CIPHER_WEP_40 = 15, WLAN_CRYPTO_CIPHER_WEP_104 = 16, WLAN_CRYPTO_CIPHER_NONE = 17, - WLAN_CRYPTO_CIPHER_MAX = WLAN_CRYPTO_CIPHER_NONE, + WLAN_CRYPTO_CIPHER_MAX = (WLAN_CRYPTO_CIPHER_NONE + 1), WLAN_CRYPTO_CIPHER_INVALID, } wlan_crypto_cipher_type;