mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 06:47:30 +02:00
08ec8f0d80
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32588 3c298f89-4303-0410-b956-a3cf2f4a3e73
24 lines
796 B
Diff
24 lines
796 B
Diff
From 9bd8677ad5f1814e0f784f92d07ba8bd38c6bc13 Mon Sep 17 00:00:00 2001
|
|
From: Gabor Juhos <juhosg@openwrt.org>
|
|
Date: Mon, 2 Jul 2012 17:10:14 +0200
|
|
Subject: [PATCH 03/20] ath9k: set MAC version for AR9550
|
|
|
|
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|
Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
|
|
---
|
|
drivers/net/wireless/ath/ath9k/hw.c | 3 +++
|
|
1 files changed, 3 insertions(+), 0 deletions(-)
|
|
|
|
--- a/drivers/net/wireless/ath/ath9k/hw.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/hw.c
|
|
@@ -343,6 +343,9 @@ static void ath9k_hw_read_revisions(stru
|
|
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;
|