Ticket #131: madwifi-debug.2.diff
| File madwifi-debug.2.diff, 1.6 kB (added by mentor, 6 years ago) |
|---|
-
net80211/ieee80211_var.h
old new 637 637 ieee80211_msg(_vap, IEEE80211_MSG_SCAN) 638 638 #define ieee80211_msg_assoc(_vap) \ 639 639 ieee80211_msg(_vap, IEEE80211_MSG_ASSOC) 640 #else 640 #else /* IEEE80211_DEBUG */ 641 641 #define IEEE80211_DPRINTF(_vap, _m, _fmt, ...) 642 #define IEEE80211_NOTE(_vap, _m, _wh, _fmt, ...) 642 643 #define IEEE80211_NOTE_FRAME(_vap, _m, _wh, _fmt, ...) 643 644 #define IEEE80211_NOTE_MAC(_vap, _m, _mac, _fmt, ...) 644 #define ieee80211_msg_dumppkts(_vap) 0 645 #define ieee80211_msg(_vap, _m) 0 646 #endif 645 #endif /* IEEE80211_DEBUG */ 647 646 648 647 #endif /* _NET80211_IEEE80211_VAR_H_ */ -
ath/if_ath.c
old new 300 300 MODULE_PARM_DESC(rfkill, "Enable/disable RFKILL capability"); 301 301 MODULE_PARM_DESC(autocreate, "Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use 'none' to disable"); 302 302 303 static int ath_debug = 0; 303 304 #ifdef AR_DEBUG 304 static int ath_debug = 0;305 305 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,52)) 306 306 MODULE_PARM(ath_debug, "i"); 307 307 #else … … 347 347 if (sc->sc_debug & ATH_DEBUG_KEYCACHE) \ 348 348 ath_keyprint(__func__, ix, hk, mac); \ 349 349 } while (0) 350 #else 350 #else /* defined(AR_DEBUG) */ 351 351 #define IFF_DUMPPKTS(sc, _m) netif_msg_dumppkts(&sc->sc_ic) 352 352 #define DPRINTF(sc, _m, _fmt, ...) 353 353 #define KEYPRINTF(sc, k, ix, mac) 354 #endif 354 #endif /* defined(AR_DEBUG) */ 355 355 356 356 #define ATH_SETUP_XR_VAP(sc,vap,rfilt) \ 357 357 do { \
