madwifi: fix noderef and state machine issues in the currently unused ap-to-ap wds...
[openwrt/openwrt.git] / package / madwifi / patches / 201-debug_fix.patch
1 --- a/ath_hal/ah_os.c
2 +++ b/ath_hal/ah_os.c
3 @@ -65,7 +65,7 @@
4 #include <ah_os.h>
5
6 #ifdef AH_DEBUG
7 -static int ath_hal_debug = 0;
8 +static int ath_hal_debug = 99;
9 #endif
10
11 int ath_hal_dma_beacon_response_time = 2; /* in TUs */
12 @@ -327,6 +327,8 @@ EXPORT_SYMBOL(OS_MARK);
13 * useful for debugging and figuring out, which hal function sets which
14 * registers */
15 char *ath_hal_func = NULL;
16 +EXPORT_SYMBOL(ath_hal_func);
17 +
18 #endif
19
20 /*