summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/tx99.c
diff options
context:
space:
mode:
authorEduardo Abinader <eabinader@ocedo.com>2016-05-09 14:38:40 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2016-05-28 10:18:19 +0200
commite94610cc1c8f2cc1154c941cbc2d91723f85b60c (patch)
tree7a6e90e230b0b77e78f907efda4fa0052a5cd061 /drivers/net/wireless/ath/ath9k/tx99.c
parentath9k: Remove empty test condition (diff)
downloadlinux-e94610cc1c8f2cc1154c941cbc2d91723f85b60c.tar.xz
linux-e94610cc1c8f2cc1154c941cbc2d91723f85b60c.zip
ath9k: allow tx99 for ar9002 based cards
As there is current support for ar9002 tx99 mode, just allow to init debugfs and enable tx99. Signed-off-by: Eduardo Abinader <eduardo.abinader@riverbed.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/tx99.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/tx99.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/tx99.c b/drivers/net/wireless/ath/ath9k/tx99.c
index ac4781f37e78..6161536e9397 100644
--- a/drivers/net/wireless/ath/ath9k/tx99.c
+++ b/drivers/net/wireless/ath/ath9k/tx99.c
@@ -266,7 +266,7 @@ static const struct file_operations fops_tx99_power = {
void ath9k_tx99_init_debug(struct ath_softc *sc)
{
- if (!AR_SREV_9300_20_OR_LATER(sc->sc_ah))
+ if (!AR_SREV_9280_20_OR_LATER(sc->sc_ah))
return;
debugfs_create_file("tx99", S_IRUSR | S_IWUSR,