Explorar o código

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 %!s(int64=6) %!d(string=hai) anos
pai
achega
9d76260ac9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;