|
@@ -63,6 +63,7 @@ int ath6kl_read_tgt_stats(struct ath6kl *ar, struct ath6kl_vif *vif);
|
|
|
|
|
|
#ifdef CONFIG_ATH6KL_DEBUG
|
|
#ifdef CONFIG_ATH6KL_DEBUG
|
|
|
|
|
|
|
|
+__printf(2, 3)
|
|
void ath6kl_dbg(enum ATH6K_DEBUG_MASK mask, const char *fmt, ...);
|
|
void ath6kl_dbg(enum ATH6K_DEBUG_MASK mask, const char *fmt, ...);
|
|
void ath6kl_dbg_dump(enum ATH6K_DEBUG_MASK mask,
|
|
void ath6kl_dbg_dump(enum ATH6K_DEBUG_MASK mask,
|
|
const char *msg, const char *prefix,
|
|
const char *msg, const char *prefix,
|
|
@@ -83,6 +84,7 @@ int ath6kl_debug_init_fs(struct ath6kl *ar);
|
|
void ath6kl_debug_cleanup(struct ath6kl *ar);
|
|
void ath6kl_debug_cleanup(struct ath6kl *ar);
|
|
|
|
|
|
#else
|
|
#else
|
|
|
|
+__printf(2, 3)
|
|
static inline void ath6kl_dbg(enum ATH6K_DEBUG_MASK dbg_mask,
|
|
static inline void ath6kl_dbg(enum ATH6K_DEBUG_MASK dbg_mask,
|
|
const char *fmt, ...)
|
|
const char *fmt, ...)
|
|
{
|
|
{
|