From d7f5ff48ed3a551efcd19062be57cd349bfe8490 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 4 May 2014 23:26:20 +0000 Subject: ar71xx/ath9k: fix reading the WMAC revision on AR953x (fixes #15581) Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40695 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../mac80211/patches/567-ath9k_ar953x_read_mac_rev.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/kernel/mac80211/patches/567-ath9k_ar953x_read_mac_rev.patch (limited to 'package/kernel') diff --git a/package/kernel/mac80211/patches/567-ath9k_ar953x_read_mac_rev.patch b/package/kernel/mac80211/patches/567-ath9k_ar953x_read_mac_rev.patch new file mode 100644 index 0000000000..31778a4a21 --- /dev/null +++ b/package/kernel/mac80211/patches/567-ath9k_ar953x_read_mac_rev.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/wireless/ath/ath9k/hw.c ++++ b/drivers/net/wireless/ath/ath9k/hw.c +@@ -260,6 +260,8 @@ static void ath9k_hw_read_revisions(stru + return; + case AR9300_DEVID_AR953X: + ah->hw_version.macVersion = AR_SREV_VERSION_9531; ++ if (ah->get_mac_revision) ++ ah->hw_version.macRev = ah->get_mac_revision(); + return; + } + -- cgit v1.2.3