diff options
Diffstat (limited to 'drivers/net/wireless/ti')
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/debugfs.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ti/wlcore/debugfs.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/debugfs.c b/drivers/net/wireless/ti/wl18xx/debugfs.c index c93fae95baac..5fbd2230f372 100644 --- a/drivers/net/wireless/ti/wl18xx/debugfs.c +++ b/drivers/net/wireless/ti/wl18xx/debugfs.c | |||
@@ -139,7 +139,7 @@ WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, protection_filter, "%u"); | |||
139 | WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, accum_arp_pend_requests, "%u"); | 139 | WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, accum_arp_pend_requests, "%u"); |
140 | WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, max_arp_queue_dep, "%u"); | 140 | WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, max_arp_queue_dep, "%u"); |
141 | 141 | ||
142 | WL18XX_DEBUGFS_FWSTATS_FILE(rx_rate, rx_frames_per_rates, "%u"); | 142 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(rx_rate, rx_frames_per_rates, 50); |
143 | 143 | ||
144 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, tx_agg_vs_rate, | 144 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, tx_agg_vs_rate, |
145 | AGGR_STATS_TX_AGG*AGGR_STATS_TX_RATE); | 145 | AGGR_STATS_TX_AGG*AGGR_STATS_TX_RATE); |
diff --git a/drivers/net/wireless/ti/wlcore/debugfs.h b/drivers/net/wireless/ti/wlcore/debugfs.h index 0f2cfb0d2a9e..bf14676e6515 100644 --- a/drivers/net/wireless/ti/wlcore/debugfs.h +++ b/drivers/net/wireless/ti/wlcore/debugfs.h | |||
@@ -26,8 +26,8 @@ | |||
26 | 26 | ||
27 | #include "wlcore.h" | 27 | #include "wlcore.h" |
28 | 28 | ||
29 | int wl1271_format_buffer(char __user *userbuf, size_t count, | 29 | __printf(4, 5) int wl1271_format_buffer(char __user *userbuf, size_t count, |
30 | loff_t *ppos, char *fmt, ...); | 30 | loff_t *ppos, char *fmt, ...); |
31 | 31 | ||
32 | int wl1271_debugfs_init(struct wl1271 *wl); | 32 | int wl1271_debugfs_init(struct wl1271 *wl); |
33 | void wl1271_debugfs_exit(struct wl1271 *wl); | 33 | void wl1271_debugfs_exit(struct wl1271 *wl); |