aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl')
-rwxr-xr-xdrivers/net/wireless/ath/ath6kl/debug.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/debug.c b/drivers/net/wireless/ath/ath6kl/debug.c
index 56e1cb170299..4bebf8eb23d3 100755
--- a/drivers/net/wireless/ath/ath6kl/debug.c
+++ b/drivers/net/wireless/ath/ath6kl/debug.c
@@ -740,9 +740,13 @@ static ssize_t ath6kl_endpoint_stats_read(struct file *file,
740 return -ENOMEM; 740 return -ENOMEM;
741 741
742#define EPSTAT(name) \ 742#define EPSTAT(name) \
743 len = print_endpoint_stat(target, buf, buf_len, len, \ 743 do { \
744 offsetof(struct htc_endpoint_stats, name), \ 744 len = print_endpoint_stat(target, buf, buf_len, len, \
745 #name) 745 offsetof(struct htc_endpoint_stats, \
746 name), \
747 #name); \
748 } while (0)
749
746 EPSTAT(cred_low_indicate); 750 EPSTAT(cred_low_indicate);
747 EPSTAT(tx_issued); 751 EPSTAT(tx_issued);
748 EPSTAT(tx_pkt_bundled); 752 EPSTAT(tx_pkt_bundled);