debugging fixes
[openwrt.git] / package / madwifi / patches / 201-debug_fix.patch
1 Index: madwifi-trunk-r3314/ath_hal/ah_os.c
2 ===================================================================
3 --- madwifi-trunk-r3314.orig/ath_hal/ah_os.c    2008-02-20 18:10:44.539052527 +0100
4 +++ madwifi-trunk-r3314/ath_hal/ah_os.c 2008-02-20 18:10:55.159657761 +0100
5 @@ -65,7 +65,7 @@
6  #include <ah_os.h>
7  
8  #ifdef AH_DEBUG
9 -static int ath_hal_debug = 0;
10 +static int ath_hal_debug = 99;
11  #endif
12  
13  int    ath_hal_dma_beacon_response_time = 2;   /* in TUs */
14 @@ -327,6 +327,8 @@
15   * useful for debugging and figuring out, which hal function sets which 
16   * registers */
17  char *ath_hal_func = NULL;
18 +EXPORT_SYMBOL(ath_hal_func);
19 +
20  #endif
21  
22  /*