Browse Source

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
Shiva Sankar Gajula 6 years ago
parent
commit
9d76260ac9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      umac/cmn_services/crypto/inc/wlan_crypto_global_def.h

+ 1 - 1
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;