2011-08-27 21:57:07 +00:00
|
|
|
--- a/drivers/net/wireless/ath/Makefile
|
|
|
|
+++ b/drivers/net/wireless/ath/Makefile
|
2014-10-18 17:38:59 +00:00
|
|
|
@@ -13,10 +13,10 @@ ath-objs := main.o \
|
2011-08-27 21:57:07 +00:00
|
|
|
regd.o \
|
|
|
|
hw.o \
|
2013-11-12 22:11:33 +00:00
|
|
|
key.o \
|
|
|
|
+ debug.o \
|
|
|
|
dfs_pattern_detector.o \
|
|
|
|
dfs_pri_detector.o
|
2012-02-07 11:28:11 +00:00
|
|
|
|
2013-06-15 20:14:06 +00:00
|
|
|
-ath-$(CPTCFG_ATH_DEBUG) += debug.o
|
2014-10-18 17:38:59 +00:00
|
|
|
ath-$(CPTCFG_ATH_TRACEPOINTS) += trace.o
|
|
|
|
|
2017-02-02 11:02:22 +00:00
|
|
|
CFLAGS_trace.o := -I$(src)
|
2011-08-28 07:34:34 +00:00
|
|
|
--- a/drivers/net/wireless/ath/ath.h
|
|
|
|
+++ b/drivers/net/wireless/ath/ath.h
|
2016-12-13 11:33:42 +00:00
|
|
|
@@ -318,14 +318,7 @@ void _ath_dbg(struct ath_common *common,
|
2013-06-15 20:14:06 +00:00
|
|
|
#endif /* CPTCFG_ATH_DEBUG */
|
2011-08-28 07:34:34 +00:00
|
|
|
|
|
|
|
/** Returns string describing opmode, or NULL if unknown mode. */
|
2013-06-15 20:14:06 +00:00
|
|
|
-#ifdef CPTCFG_ATH_DEBUG
|
2011-08-28 07:34:34 +00:00
|
|
|
const char *ath_opmode_to_string(enum nl80211_iftype opmode);
|
|
|
|
-#else
|
|
|
|
-static inline const char *ath_opmode_to_string(enum nl80211_iftype opmode)
|
|
|
|
-{
|
|
|
|
- return "UNKNOWN";
|
|
|
|
-}
|
|
|
|
-#endif
|
|
|
|
|
2016-12-13 11:33:42 +00:00
|
|
|
extern const char *ath_bus_type_strings[];
|
|
|
|
static inline const char *ath_bus_type_to_string(enum ath_bus_type bustype)
|