X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/410d80b0c87de11d3f70b012b8168b8b00a76f3a..31a40f97ef54e10e2b3dc3cacb9cff436657c586:/package/madwifi/patches/201-debug_fix.patch?ds=inline diff --git a/package/madwifi/patches/201-debug_fix.patch b/package/madwifi/patches/201-debug_fix.patch index 4af0e70ab..bcfbba82c 100644 --- a/package/madwifi/patches/201-debug_fix.patch +++ b/package/madwifi/patches/201-debug_fix.patch @@ -1,12 +1,20 @@ -Index: madwifi-dfs-r3246/net80211/ieee80211_debug.h -=================================================================== ---- madwifi-dfs-r3246.orig/net80211/ieee80211_debug.h 2008-01-25 16:39:52.407138381 +0100 -+++ madwifi-dfs-r3246/net80211/ieee80211_debug.h 2008-01-25 16:43:40.104114090 +0100 -@@ -119,6 +119,7 @@ - #define ieee80211_msg_assoc(_vap) \ - ieee80211_msg_is_reported(_vap, IEEE80211_MSG_ASSOC) - #else /* IEEE80211_DEBUG */ -+#define ieee80211_msg_is_reported(_vap, m) (0) - #define IEEE80211_DPRINTF(_vap, _m, _fmt, ...) - #define IEEE80211_NOTE(_vap, _m, _wh, _fmt, ...) - #define IEEE80211_NOTE_FRAME(_vap, _m, _wh, _fmt, ...) +--- a/ath_hal/ah_os.c ++++ b/ath_hal/ah_os.c +@@ -65,7 +65,7 @@ + #include + + #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 @@ EXPORT_SYMBOL(OS_MARK); + * useful for debugging and figuring out, which hal function sets which + * registers */ + char *ath_hal_func = NULL; ++EXPORT_SYMBOL(ath_hal_func); ++ + #endif + + /*