drop 2.6.24 support
[acx-mac80211.git] / acx_debug.h
blob67cdb60ad5c031abb95eb7b5d16d0078d8236b7f
1 #ifndef _ACX_DEBUG_H_
2 #define _ACX_DEBUG_H_
4 /*
5 * acx_debug.h: logging constants and helpers
7 * Copyright (c) 2008, Francis Galiegue <fgaliegue@gmail.com> for the ACX100
8 * driver project.
10 * This file is licensed under GPL version 2.
14 * ACX_DEBUG:
15 * set to 0 if you don't want any debugging code to be compiled in
16 * set to 1 if you want some debugging
17 * set to 2 if you want extensive debug log
19 #define ACX_DEBUG 2
20 #define ACX_DEFAULT_MSG (L_INIT|L_ASSOC)
22 #if ACX_DEBUG
23 extern unsigned int acx_debug;
24 #else
25 enum { acx_debug = 0 };
26 #endif
28 #endif /* _ACX_DEBUG_H_ */