qcacld-3.0: Correct the key type value in set key request

Send correct key type parameter value to crypto component in
set key request.

Change-Id: I17554a72f62e356871cb0a684a066c7d794f4d02
CRs-Fixed: 2388032
此提交包含在:
Kiran Kumar Lokere
2019-01-24 18:38:33 -08:00
提交者 nshrivas
父節點 95341508ac
當前提交 47d0dacaf4
共有 6 個檔案被更改,包括 52 行新增15 行删除

查看文件

@@ -1390,7 +1390,8 @@ static QDF_STATUS wlan_sap_set_key_helper(struct sap_context *sap_ctx,
return QDF_STATUS_E_FAILURE;
}
return ucfg_crypto_set_key_req(sap_ctx->vdev, crypto_key, true);
return ucfg_crypto_set_key_req(sap_ctx->vdev, crypto_key,
WLAN_CRYPTO_KEY_TYPE_UNICAST);
}
#else
static QDF_STATUS wlan_sap_set_key_helper(struct sap_context *sap_ctx,