mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacmn: Add AP mode support for PMKSA
Currently only STA mode is supported in wlan_crypto_set_del_pmksa. For SAE SAP, need to add AP mode support in this API. Change-Id: If45a516713e302b3516d163516263bbcbafeaed2 CRs-Fixed: 2424893
This commit is contained in:
parent
443059e723
commit
bc3bde34bf
1 changed files with 4 additions and 1 deletions
|
|
@ -394,8 +394,11 @@ QDF_STATUS wlan_crypto_set_del_pmksa(struct wlan_objmgr_vdev *vdev,
|
|||
QDF_STATUS status = QDF_STATUS_E_INVAL;
|
||||
struct wlan_crypto_comp_priv *crypto_priv;
|
||||
struct wlan_crypto_params *crypto_params;
|
||||
enum QDF_OPMODE op_mode;
|
||||
|
||||
if (wlan_vdev_mlme_get_opmode(vdev) != QDF_STA_MODE)
|
||||
op_mode = wlan_vdev_mlme_get_opmode(vdev);
|
||||
|
||||
if (op_mode != QDF_STA_MODE && op_mode != QDF_SAP_MODE)
|
||||
return QDF_STATUS_E_NOSUPPORT;
|
||||
|
||||
if (!pmksa && set) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue