wpa_supplicant: set cipher key_len for AES 128 CMAC

This commit is contained in:
Shreyas Sheth
2023-01-06 12:47:38 +05:30
parent aa8a00c4f0
commit c78324e407

View File

@@ -597,6 +597,7 @@ int wpa_cipher_key_len(int cipher)
switch (cipher) {
case WPA_CIPHER_CCMP:
case WPA_CIPHER_GCMP:
case WPA_CIPHER_AES_128_CMAC:
return 16;
case WPA_CIPHER_TKIP:
return 32;