mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
qcacld-3.0: Update key management in original auth mode for WAPI
Currently for WAPI connection auth mode is updated only in key management, but on connect request for validating auth mode, it compared with original key management and failing to connect because of mismatch in auth and cipher suits. To fix this, update auth mode in original key management as well in crypto for WAPI connection. CRs-Fixed: 3901275 Change-Id: I942fbbc68c18d7c8137053b5fc9cb0260109fdcd
This commit is contained in:
parent
1a2fc5395e
commit
6fe3981e40
1 changed files with 3 additions and 0 deletions
|
|
@ -21129,7 +21129,10 @@ static void hdd_set_wapi_crypto_key_mgmt_param(struct hdd_adapter *adapter)
|
|||
if (adapter->wapi_info.wapi_auth_mode == WAPI_AUTH_MODE_CERT)
|
||||
HDD_SET_BIT(set_val, WLAN_CRYPTO_KEY_MGMT_WAPI_CERT);
|
||||
|
||||
/* Set AKM and original AKM type */
|
||||
wlan_crypto_set_vdev_param(vdev, WLAN_CRYPTO_PARAM_KEY_MGMT, set_val);
|
||||
wlan_crypto_set_vdev_param(vdev, WLAN_CRYPTO_PARAM_ORIG_KEY_MGMT,
|
||||
set_val);
|
||||
|
||||
set_val = 0;
|
||||
HDD_SET_BIT(set_val, WLAN_CRYPTO_CIPHER_WAPI_SMS4);
|
||||
|
|
|
|||
Loading…
Reference in a new issue