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;