mac80211: update to wireless-testing 2014-05-19
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / patches / 400-ath_move_debug_code.patch
1 --- a/drivers/net/wireless/ath/Makefile
2 +++ b/drivers/net/wireless/ath/Makefile
3 @@ -13,8 +13,8 @@ ath-objs := main.o \
4 regd.o \
5 hw.o \
6 key.o \
7 + debug.o \
8 dfs_pattern_detector.o \
9 dfs_pri_detector.o
10
11 -ath-$(CPTCFG_ATH_DEBUG) += debug.o
12 ccflags-y += -D__CHECK_ENDIAN__
13 --- a/drivers/net/wireless/ath/ath.h
14 +++ b/drivers/net/wireless/ath/ath.h
15 @@ -295,13 +295,6 @@ void _ath_dbg(struct ath_common *common,
16 #endif /* CPTCFG_ATH_DEBUG */
17
18 /** Returns string describing opmode, or NULL if unknown mode. */
19 -#ifdef CPTCFG_ATH_DEBUG
20 const char *ath_opmode_to_string(enum nl80211_iftype opmode);
21 -#else
22 -static inline const char *ath_opmode_to_string(enum nl80211_iftype opmode)
23 -{
24 - return "UNKNOWN";
25 -}
26 -#endif
27
28 #endif /* ATH_H */