ath9k: set MAC version for AR9550
authorGabor Juhos <juhosg@openwrt.org>
Tue, 3 Jul 2012 17:13:17 +0000 (19:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:36:23 +0000 (16:36 -0400)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c

index 10a55bcda1b82289bf0167578b66ed06db77f34c..773efe4236a6137bc07e465a7f0c8436d4e2f025 100644 (file)
@@ -342,6 +342,9 @@ static void ath9k_hw_read_revisions(struct ath_hw *ah)
                val = REG_READ(ah, AR_SREV);
                ah->hw_version.macRev = MS(val, AR_SREV_REVISION2);
                return;
+       case AR9300_DEVID_QCA955X:
+               ah->hw_version.macVersion = AR_SREV_VERSION_9550;
+               return;
        }
 
        val = REG_READ(ah, AR_SREV) & AR_SREV_ID;