aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch')
-rw-r--r--package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch10
1 files changed, 3 insertions, 7 deletions
diff --git a/package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch b/package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch
index 09fd3e3bdc..179e5c6dea 100644
--- a/package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch
+++ b/package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch
@@ -1,8 +1,6 @@
-diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
-index 1be7c8b..05c2ba2 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -551,6 +551,7 @@ static int __ath9k_hw_init(struct ath_hw *ah)
+@@ -560,6 +560,7 @@ static int __ath9k_hw_init(struct ath_hw
case AR_SREV_VERSION_9287:
case AR_SREV_VERSION_9271:
case AR_SREV_VERSION_9300:
@@ -10,7 +8,7 @@ index 1be7c8b..05c2ba2 100644
case AR_SREV_VERSION_9485:
case AR_SREV_VERSION_9340:
break;
-@@ -561,7 +562,8 @@ static int __ath9k_hw_init(struct ath_hw *ah)
+@@ -570,7 +571,8 @@ static int __ath9k_hw_init(struct ath_hw
return -EOPNOTSUPP;
}
@@ -20,7 +18,7 @@ index 1be7c8b..05c2ba2 100644
ah->is_pciexpress = false;
ah->hw_version.phyRev = REG_READ(ah, AR_PHY_CHIP_ID);
-@@ -2574,6 +2576,7 @@ static struct {
+@@ -2584,6 +2586,7 @@ static struct {
{ AR_SREV_VERSION_9287, "9287" },
{ AR_SREV_VERSION_9271, "9271" },
{ AR_SREV_VERSION_9300, "9300" },
@@ -28,8 +26,6 @@ index 1be7c8b..05c2ba2 100644
{ AR_SREV_VERSION_9485, "9485" },
};
-diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h
-index c18ee99..a483388 100644
--- a/drivers/net/wireless/ath/ath9k/reg.h
+++ b/drivers/net/wireless/ath/ath9k/reg.h
@@ -788,6 +788,10 @@