mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacmn: Fix the condition for filling WAPI params
Fix the condition for filling WAPI params in wlan_crypto_set_wapi_key Change-Id: I3b74e2a36cdc83f06e40d746e2d7aa0740aec65a CRs-Fixed: 2685797
This commit is contained in:
parent
0f5a52c0f6
commit
e293836285
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ static void wlan_crypto_set_wapi_key(struct wlan_objmgr_vdev *vdev,
|
|||
0x5c, 0x36, 0x5c, 0x36, 0x5c,
|
||||
0x37};
|
||||
|
||||
if (cipher_type != WLAN_CRYPTO_CIPHER_WAPI_SMS4 ||
|
||||
if (cipher_type != WLAN_CRYPTO_CIPHER_WAPI_SMS4 &&
|
||||
cipher_type != WLAN_CRYPTO_CIPHER_WAPI_GCM4)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue