summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/301-ath9k_hw-fix-device-ID-check-for-AR956x.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-07-22 12:45:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-07-22 12:45:03 +0000
commit9384cc59512c6974908289b67c3321d40ee4f19b (patch)
tree2efda9ebe3be4fa220e11d6c8c2b26299a3f00c8 /package/kernel/mac80211/patches/301-ath9k_hw-fix-device-ID-check-for-AR956x.patch
parent3b17e2ab6853f78989b7cea4a2cf412938881ac2 (diff)
downloadmtk-20170518-9384cc59512c6974908289b67c3321d40ee4f19b.zip
mtk-20170518-9384cc59512c6974908289b67c3321d40ee4f19b.tar.gz
mtk-20170518-9384cc59512c6974908289b67c3321d40ee4f19b.tar.bz2
mac80211: update to wireless-testing 2015-07-21
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46436
Diffstat (limited to 'package/kernel/mac80211/patches/301-ath9k_hw-fix-device-ID-check-for-AR956x.patch')
-rw-r--r--package/kernel/mac80211/patches/301-ath9k_hw-fix-device-ID-check-for-AR956x.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/package/kernel/mac80211/patches/301-ath9k_hw-fix-device-ID-check-for-AR956x.patch b/package/kernel/mac80211/patches/301-ath9k_hw-fix-device-ID-check-for-AR956x.patch
deleted file mode 100644
index 5998be8..0000000
--- a/package/kernel/mac80211/patches/301-ath9k_hw-fix-device-ID-check-for-AR956x.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Felix Fietkau <nbd@openwrt.org>
-Date: Sun, 21 Jun 2015 19:45:59 +0200
-Subject: [PATCH] ath9k_hw: fix device ID check for AR956x
-
-Because of the missing return, the macVersion value was being
-overwritten with an invalid register read
-
-Signed-off-by: Felix Fietkau <nbd@openwrt.org>
----
-
---- a/drivers/net/wireless/ath/ath9k/hw.c
-+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -279,6 +279,7 @@ static void ath9k_hw_read_revisions(stru
- return;
- case AR9300_DEVID_QCA956X:
- ah->hw_version.macVersion = AR_SREV_VERSION_9561;
-+ return;
- }
-
- val = REG_READ(ah, AR_SREV) & AR_SREV_ID;
-@@ -3169,6 +3170,7 @@ static struct {
- { AR_SREV_VERSION_9550, "9550" },
- { AR_SREV_VERSION_9565, "9565" },
- { AR_SREV_VERSION_9531, "9531" },
-+ { AR_SREV_VERSION_9561, "956X" },
- };
-
- /* For devices with external radios */