Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45590393 authored by Yu Zhang(Yuriy)'s avatar Yu Zhang(Yuriy) Committed by Madan Koyyalamudi
Browse files

qcacld-3.0: Move declaration of hdd_convert_cfgdot11mode_to_80211mode() out

If config not enable TDLS feature,the declaration of
hdd_convert_cfgdot11mode_to_80211mode() can't be compiled.
Move declaration of hdd_convert_cfgdot11mode_to_80211mode()
out of FEATURE_WLAN_TDLS.

Change-Id: Ieac7e8b60776de6a85fb9bced6a10ee2864d2dde
CRs-Fixed: 3057772
parent 1ea847c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@ struct hdd_context;
#if !defined(TDLS_MGMT_VERSION2)
#define TDLS_MGMT_VERSION2 0
#endif
#endif

/**
 * hdd_convert_cfgdot11mode_to_80211mode() - Function to convert cfg dot11 mode
@@ -137,7 +138,6 @@ struct hdd_context;
 */
enum qca_wlan_802_11_mode
hdd_convert_cfgdot11mode_to_80211mode(enum csr_cfgdot11mode mode);
#endif

#define HDD_SET_BIT(__param, __val)    ((__param) |= (1 << (__val)))