qcacld-3.0: Fix the compilation after disabling CONFIG_CRYPTO_COMPONENT
wlan_crypto_set_vdev_param() used in hdd_populate_crypto_auth_type(), hdd_populate_crypto_akm_type() and hdd_populate_crypto_cipher_type() is not defined when CONFIG_CRYPTO_COMPONENT is disabled Change-Id: I5bccf391886d4db48a79ba67b903180ea626ad37 CRs-Fixed: 2321455
This commit is contained in:

committed by
nshrivas

parent
0e1a7b6b21
commit
1111aa3d6a
@@ -16058,6 +16058,8 @@ static bool hdd_is_wpaie_present(const uint8_t *ie, uint8_t ie_len)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_CRYPTO_COMPONENT
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_populate_crypto_auth_type() - populate auth type for crypto
|
* hdd_populate_crypto_auth_type() - populate auth type for crypto
|
||||||
* @vdev: pointed to vdev obmgr
|
* @vdev: pointed to vdev obmgr
|
||||||
@@ -16156,6 +16158,36 @@ static void hdd_populate_crypto_params(struct wlan_objmgr_vdev *vdev,
|
|||||||
WLAN_CRYPTO_PARAM_MCAST_CIPHER);
|
WLAN_CRYPTO_PARAM_MCAST_CIPHER);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
static inline
|
||||||
|
void hdd_populate_crypto_auth_type(struct wlan_objmgr_vdev *vdev,
|
||||||
|
enum nl80211_auth_type auth_type)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline
|
||||||
|
void hdd_populate_crypto_akm_type(struct wlan_objmgr_vdev *vdev,
|
||||||
|
u32 key_mgmt)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline
|
||||||
|
void hdd_populate_crypto_cipher_type(u32 cipher,
|
||||||
|
struct wlan_objmgr_vdev *vdev,
|
||||||
|
wlan_crypto_param_type
|
||||||
|
cipher_param_type)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline
|
||||||
|
void hdd_populate_crypto_params(struct wlan_objmgr_vdev *vdev,
|
||||||
|
struct cfg80211_connect_params *req)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wlan_hdd_cfg80211_set_privacy() - set security parameters during connection
|
* wlan_hdd_cfg80211_set_privacy() - set security parameters during connection
|
||||||
* @adapter: Pointer to adapter
|
* @adapter: Pointer to adapter
|
||||||
|
Reference in New Issue
Block a user