ath9k: Fix BTCOEX debugfs file usage
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 19 Nov 2012 08:54:46 +0000 (14:24 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Nov 2012 15:45:40 +0000 (10:45 -0500)
commitac46ba4384d2c44c56702d0da591696045fba682
treed96d638823d533c9154bfbbe03af834a25518089
parent57527f8d4d71b5167a02fb6713857f55d3974748
ath9k: Fix BTCOEX debugfs file usage

The debugfs file for dumping btcoex parameters unconditionally
assumes a MCI-based device. This will not work for older btcoex
chips. Fix this by branching out the routine into separate
functions.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/debug.c
drivers/net/wireless/ath/ath9k/gpio.c