Files
linux/drivers/net/wireless
Nicolas Iooss 7725bb06eb wl18xx: show rx_frames_per_rates as an array as it really is
commit a3fa71c40f upstream.

In struct wl18xx_acx_rx_rate_stat, rx_frames_per_rates field is an
array, not a number.  This means WL18XX_DEBUGFS_FWSTATS_FILE can't be
used to display this field in debugfs (it would display a pointer, not
the actual data).  Use WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY instead.

This bug has been found by adding a __printf attribute to
wl1271_format_buffer.  gcc complained about "format '%u' expects
argument of type 'unsigned int', but argument 5 has type 'u32 *'".

Fixes: c5d94169e8 ("wl18xx: use new fw stats structures")
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-06 21:56:28 +02:00
..
2015-03-18 13:22:35 +01:00
2014-07-28 08:00:06 -07:00
2013-05-01 17:29:42 -04:00
2012-12-06 15:04:56 -05:00
2013-05-22 14:51:11 -04:00
2013-04-22 15:06:44 -04:00
2011-11-26 15:41:29 -05:00
2013-03-08 15:58:54 -05:00