diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-04 23:26:20 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-04 23:26:20 +0000 |
commit | b4d93a52cfdc75fde4e56979f6749977197effca (patch) | |
tree | 574ce417054170112392e0b4524d2a56ac81c9a4 /package | |
parent | 32a806cf8aed07d0f04e06a1d2f57d70eff7d0e8 (diff) | |
download | mtk-20170518-b4d93a52cfdc75fde4e56979f6749977197effca.zip mtk-20170518-b4d93a52cfdc75fde4e56979f6749977197effca.tar.gz mtk-20170518-b4d93a52cfdc75fde4e56979f6749977197effca.tar.bz2 |
ar71xx/ath9k: fix reading the WMAC revision on AR953x (fixes #15581)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40695
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/mac80211/patches/567-ath9k_ar953x_read_mac_rev.patch | 11 |
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 0000000..31778a4 --- /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; + } + |