mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
qcacld-3.0: Conditionally build TDLS component
Currently the TDLS component code is unconditionally built which will bloat images where TDLS is not required. Fix this by only building the TDLS component when the TDLS feature is enabled. Change-Id: I7496b8f07ed495b00e62fc3cf50a96e1829d9341 CRs-Fixed: 2399966
This commit is contained in:
parent
7c0082d61d
commit
74c6bb25ba
4 changed files with 86 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2019 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
|
||||
|
|
@ -270,7 +270,18 @@ void hdd_notify_sta_disconnect(uint8_t session_id,
|
|||
*/
|
||||
void hdd_notify_teardown_tdls_links(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
#else
|
||||
#else /* CONVERGED_TDLS_ENABLE */
|
||||
static inline
|
||||
QDF_STATUS wlan_cfg80211_tdls_priv_init(struct vdev_osif_priv *osif_priv)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline
|
||||
void wlan_cfg80211_tdls_priv_deinit(struct vdev_osif_priv *osif_priv)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void
|
||||
hdd_notify_tdls_reset_adapter(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
|
|
@ -305,5 +316,5 @@ void hdd_notify_teardown_tdls_links(struct wlan_objmgr_vdev *vdev)
|
|||
{
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif /* CONVERGED_TDLS_ENABLE */
|
||||
#endif /* _WLAN_CFG80211_TDLS_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue