ath9k: simplify debugfs chainmask handling
authorFelix Fietkau <nbd@openwrt.org>
Tue, 13 Aug 2013 10:33:27 +0000 (12:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Aug 2013 20:07:58 +0000 (16:07 -0400)
commitca6d4a74c4dea24277d4ce2df4940da6003a2a16
treed60b58624f02e4d33df67a44af29940f2679d3b3
parentf5bde5b8524fb2b8584af3750dbffda6557234e6
ath9k: simplify debugfs chainmask handling

Writing to that file is unnecessary and quirky, the antenna API should
be used instead. Use debugfs_create_u8 to allow reading the values.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/debug.c