From 04ce7928c6f6f644f5619e6617bf0aa86826abf9 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 18 Jul 2008 22:57:30 +0000 Subject: rename patches-r3776 to patches-testing git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11868 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-testing/201-no_debug_extra.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/madwifi/patches-testing/201-no_debug_extra.patch (limited to 'package/madwifi/patches-testing/201-no_debug_extra.patch') diff --git a/package/madwifi/patches-testing/201-no_debug_extra.patch b/package/madwifi/patches-testing/201-no_debug_extra.patch new file mode 100644 index 000000000..0e26d5f39 --- /dev/null +++ b/package/madwifi/patches-testing/201-no_debug_extra.patch @@ -0,0 +1,33 @@ +--- a/ath/if_ath.c ++++ b/ath/if_ath.c +@@ -423,8 +423,8 @@ + "defaults to '" DEF_RATE_CTL "'"); + MODULE_PARM_DESC(intmit, "Enable interference mitigation by default. Default is 0."); + +-static int ath_debug = 0; + #ifdef AR_DEBUG ++static int ath_debug = 0; + #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,52)) + MODULE_PARM(ath_debug, "i"); + #else +@@ -435,8 +435,8 @@ + static void ath_printtxbuf(const struct ath_buf *, int); + #endif /* defined(AR_DEBUG) */ + +-static int ieee80211_debug = 0; + #ifdef AR_DEBUG ++static int ieee80211_debug = 0; + #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,52)) + MODULE_PARM(ieee80211_debug, "i"); + #else +@@ -853,8 +853,10 @@ + ic->ic_updateslot = ath_updateslot; + atomic_set(&ic->ic_node_counter, 0); + ic->ic_debug = 0; ++#ifdef AR_DEBUG + sc->sc_debug = (ath_debug & ~ATH_DEBUG_GLOBAL); + sc->sc_default_ieee80211_debug = ieee80211_debug; ++#endif + + ic->ic_wme.wme_update = ath_wme_update; + ic->ic_uapsd_flush = ath_uapsd_flush; -- cgit v1.2.3