openssl 1.0.1 update patch
[openwrt.git] / package / mac80211 / patches / 400-ath_move_debug_code.patch
1 --- a/drivers/net/wireless/ath/Makefile
2 +++ b/drivers/net/wireless/ath/Makefile
3 @@ -8,7 +8,7 @@ obj-$(CONFIG_ATH_COMMON) += ath.o
4 ath-objs := main.o \
5 regd.o \
6 hw.o \
7 - key.o
8 + key.o \
9 + debug.o
10
11 -ath-$(CONFIG_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 @@ -281,13 +281,6 @@ void _ath_dbg(struct ath_common *common,
16 #endif /* CONFIG_ATH_DEBUG */
17
18 /** Returns string describing opmode, or NULL if unknown mode. */
19 -#ifdef CONFIG_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 */
This page took 0.040658 seconds and 5 git commands to generate.