openwrt/package/madwifi/patches/201-debug_fix.patch

23 lines
567 B
Diff
Raw Normal View History

2008-03-07 01:06:26 +00:00
Index: madwifi-trunk-r3314/ath_hal/ah_os.c
===================================================================
--- madwifi-trunk-r3314.orig/ath_hal/ah_os.c
+++ madwifi-trunk-r3314/ath_hal/ah_os.c
2008-03-07 01:06:26 +00:00
@@ -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
/*