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
@ -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 New Issue
Block a user