mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
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
This commit is contained in:
parent
89a67f807e
commit
88cd0dfcea
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue