summaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/400-ath_move_debug_code.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-12-13 12:33:42 +0100
committerFelix Fietkau <nbd@nbd.name>2016-12-13 12:34:13 +0100
commit57f7f91f0c2c88a4307fdf859f31946cb03c616d (patch)
tree7be0ee0cc23c8d59d72ad38522248ef268c7b003 /package/kernel/mac80211/patches/400-ath_move_debug_code.patch
parent4872c36c55f9423ac3a5859fd4eb42a23545632b (diff)
downloadopenwrt-57f7f91f0c2c88a4307fdf859f31946cb03c616d.tar.gz
openwrt-57f7f91f0c2c88a4307fdf859f31946cb03c616d.tar.bz2
openwrt-57f7f91f0c2c88a4307fdf859f31946cb03c616d.zip
mac80211: refresh all patches
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/400-ath_move_debug_code.patch')
-rw-r--r--package/kernel/mac80211/patches/400-ath_move_debug_code.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/400-ath_move_debug_code.patch b/package/kernel/mac80211/patches/400-ath_move_debug_code.patch
index 72e9a41223..a5e1f067c5 100644
--- a/package/kernel/mac80211/patches/400-ath_move_debug_code.patch
+++ b/package/kernel/mac80211/patches/400-ath_move_debug_code.patch
@@ -14,7 +14,7 @@
ccflags-y += -D__CHECK_ENDIAN__
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
-@@ -318,13 +318,6 @@ void _ath_dbg(struct ath_common *common,
+@@ -318,14 +318,7 @@ void _ath_dbg(struct ath_common *common,
#endif /* CPTCFG_ATH_DEBUG */
/** Returns string describing opmode, or NULL if unknown mode. */
@@ -27,4 +27,5 @@
-}
-#endif
- #endif /* ATH_H */
+ extern const char *ath_bus_type_strings[];
+ static inline const char *ath_bus_type_to_string(enum ath_bus_type bustype)