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
|
|
|
|
|
2012-02-07 11:28:11 +00:00
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|
2011-08-28 07:34:34 +00:00
|
|
|
--- a/drivers/net/wireless/ath/ath.h
|
|
|
|
+++ b/drivers/net/wireless/ath/ath.h
|
2014-10-22 13:32:06 +00:00
|
|
|
@@ -301,13 +301,6 @@ 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
|
|
|
|
|
|
|
|
#endif /* ATH_H */
|