qcacmn: Remove redundant CONFIG_CRYPTO_COMPONENT

There should be no reason to have macro CONFIG_CRYPTO_COMPONENT.
Replace CONFIG_CRYPTO_COMPONENT with WLAN_CONV_CRYPTO_SUPPORTED.

Change-Id: Ief2b015a8e48c85c383470c669254abfa7404585
CRs-Fixed: 2705994
Dieser Commit ist enthalten in:
bings
2020-06-09 17:24:14 +08:00
committet von nshrivas
Ursprung 89a67f807e
Commit 88cd0dfcea
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -24,7 +24,7 @@
#define _WLAN_CFG80211_CRYPTO_H_
#include <net/cfg80211.h>
#include "wlan_crypto_global_def.h"
#ifdef CONFIG_CRYPTO_COMPONENT
#ifdef WLAN_CONV_CRYPTO_SUPPORTED
/**
* wlan_cfg80211_set_default_key() - to set the default key to be used
* @vdev: VDEV Object pointer

Datei anzeigen

@@ -150,7 +150,7 @@ int wlan_cfg80211_crypto_add_key(struct wlan_objmgr_vdev *vdev,
return qdf_status_to_os_return(status);
}
#ifdef CONFIG_CRYPTO_COMPONENT
#ifdef WLAN_CONV_CRYPTO_SUPPORTED
int wlan_cfg80211_set_default_key(struct wlan_objmgr_vdev *vdev,
uint8_t key_index, struct qdf_mac_addr *bssid)
{