qcacmn: Support setting wapi crypto for SAP mode
Support setting crypto prarameters from WAPI IE. Change-Id: Iee0e42e692dd2d9c2c6d645defd858c3c29eb322 CRs-Fixed: 3213432
This commit is contained in:

committed by
Madan Koyyalamudi

parent
4afef82b70
commit
6cd686dc0e
@@ -4444,6 +4444,13 @@ QDF_STATUS wlan_set_vdev_crypto_prarams_from_ie(struct wlan_objmgr_vdev *vdev,
|
||||
send_fail = false;
|
||||
}
|
||||
|
||||
status = wlan_get_crypto_params_from_wapi_ie(&crypto_params,
|
||||
ie_ptr, ie_len);
|
||||
if (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
wlan_crypto_merge_prarams(vdev_crypto_params, &crypto_params);
|
||||
send_fail = false;
|
||||
}
|
||||
|
||||
return send_fail ? QDF_STATUS_E_FAILURE : QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user