aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/201-debug_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-03-07 01:06:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-03-07 01:06:26 +0000
commit0705bc2507f72a508277c8de60e7f50fc3a2cded (patch)
treeeed38fddec7251b963202563ffc303ff3896e796 /package/madwifi/patches/201-debug_fix.patch
parent41fcb9d31af28838db0cd46f278afe05b5ef92a3 (diff)
downloadupstream-0705bc2507f72a508277c8de60e7f50fc3a2cded.tar.gz
upstream-0705bc2507f72a508277c8de60e7f50fc3a2cded.tar.bz2
upstream-0705bc2507f72a508277c8de60e7f50fc3a2cded.zip
debugging fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10551 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/201-debug_fix.patch')
-rw-r--r--package/madwifi/patches/201-debug_fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/madwifi/patches/201-debug_fix.patch b/package/madwifi/patches/201-debug_fix.patch
new file mode 100644
index 0000000000..0059ecf790
--- /dev/null
+++ b/package/madwifi/patches/201-debug_fix.patch
@@ -0,0 +1,22 @@
+Index: madwifi-trunk-r3314/ath_hal/ah_os.c
+===================================================================
+--- madwifi-trunk-r3314.orig/ath_hal/ah_os.c 2008-02-20 18:10:44.539052527 +0100
++++ madwifi-trunk-r3314/ath_hal/ah_os.c 2008-02-20 18:10:55.159657761 +0100
+@@ -65,7 +65,7 @@
+ #include <ah_os.h>
+
+ #ifdef AH_DEBUG
+-static int ath_hal_debug = 0;
++static int ath_hal_debug = 99;
+ #endif
+
+ int ath_hal_dma_beacon_response_time = 2; /* in TUs */
+@@ -327,6 +327,8 @@
+ * useful for debugging and figuring out, which hal function sets which
+ * registers */
+ char *ath_hal_func = NULL;
++EXPORT_SYMBOL(ath_hal_func);
++
+ #endif
+
+ /*