aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/567-ath9k_ar953x_read_mac_rev.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mac80211/patches/567-ath9k_ar953x_read_mac_rev.patch')
-rw-r--r--package/kernel/mac80211/patches/567-ath9k_ar953x_read_mac_rev.patch11
1 files changed, 11 insertions, 0 deletions
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;
+ }
+