]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath9k: allow tx99 for ar9002 based cards
authorEduardo Abinader <eabinader@ocedo.com>
Mon, 9 May 2016 12:38:40 +0000 (14:38 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 28 May 2016 08:18:19 +0000 (11:18 +0300)
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>
drivers/net/wireless/ath/ath9k/tx99.c

index ac4781f37e786150181139ffe562fca55da3a1fd..6161536e93973c596750fba75a704d314922291c 100644 (file)
@@ -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,