sorry, last commit had a bug
[openwrt.git] / package / madwifi / patches / 200-no_debug.patch
index 48a4e76..89b4608 100644 (file)
@@ -15,7 +15,7 @@ diff -ur madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
  } while (0)
  #else /* defined(AR_DEBUG) */
 -#define       IFF_DUMPPKTS(sc, _m)    netif_msg_dumppkts(&sc->sc_ic)
  } while (0)
  #else /* defined(AR_DEBUG) */
 -#define       IFF_DUMPPKTS(sc, _m)    netif_msg_dumppkts(&sc->sc_ic)
-+#define       IFF_DUMPPKTS(sc, _m)
++#define       IFF_DUMPPKTS(sc, _m)    0
  #define       DPRINTF(sc, _m, _fmt, ...)
  #define       KEYPRINTF(sc, k, ix, mac)
  #endif /* defined(AR_DEBUG) */
  #define       DPRINTF(sc, _m, _fmt, ...)
  #define       KEYPRINTF(sc, k, ix, mac)
  #endif /* defined(AR_DEBUG) */