mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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
This commit is contained in:
parent
b838eb76cf
commit
ebcbae20cc
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue