minstrel: simplify and fix debugfs code
authorFelix Fietkau <nbd@openwrt.org>
Mon, 1 Mar 2010 21:17:38 +0000 (22:17 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Mar 2010 22:44:17 +0000 (17:44 -0500)
commit44ac91ea8450b0e7a27b4a1fd64aefd35a144728
tree9f47f06d46bb42c9a9e00a6dfde76e44eb8e9fb6
parent8127fbdc417b5916b82e91400a4be1d9555feee7
minstrel: simplify and fix debugfs code

This patch cleans up the debugfs read function for the statistics by
using simple_read_from_buffer instead of its own semi-broken hack.
Also removes a useless member of the minstrel debugfs info struct.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rc80211_minstrel.h
net/mac80211/rc80211_minstrel_debugfs.c