From ebcbae20cc9ed78a7a13f93bb9f66e1f465f811b Mon Sep 17 00:00:00 2001 From: Sourav Mohapatra Date: Tue, 20 Aug 2019 08:44:16 +0530 Subject: [PATCH] qcacld-3.0: Declare hdd_roam_deregister_tdlssta as static Currently the function hdd_roam_deregister_tdlssta is not declared as static when the macro FEATURE_WLAN_TDLS is not defined. This can cause a multiple definition error. Declare the function as static so as to avoid this build time error. Change-Id: Id85f8bed57a7bdfbeac5722ea687066f7f74a50f CRs-Fixed: 2511744 --- core/hdd/inc/wlan_hdd_assoc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/core/hdd/inc/wlan_hdd_assoc.h b/core/hdd/inc/wlan_hdd_assoc.h index ad4993be97b0..2aa5bc7de92f 100644 --- a/core/hdd/inc/wlan_hdd_assoc.h +++ b/core/hdd/inc/wlan_hdd_assoc.h @@ -351,6 +351,7 @@ QDF_STATUS hdd_roam_deregister_tdlssta(struct hdd_adapter *adapter, struct qdf_mac_addr *peer_mac); #else +static inline QDF_STATUS hdd_roam_deregister_tdlssta(struct hdd_adapter *adapter, struct qdf_mac_addr *peer_mac) {