[openwrt/openwrt] mac80211: ath9k: fix refclock typo

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 5 04:10:29 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/6f607c69dc39c3532084a46be80287932f8bd4d2

commit 6f607c69dc39c3532084a46be80287932f8bd4d2
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Wed Jun 4 14:54:21 2025 -0700

    mac80211: ath9k: fix refclock typo
    
    Fixes ath9k on ar934x platforms.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/19031
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/kernel/mac80211/patches/ath9k/550-ath9k-of.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/mac80211/patches/ath9k/550-ath9k-of.patch b/package/kernel/mac80211/patches/ath9k/550-ath9k-of.patch
index 3e80304b80..94fcc816df 100644
--- a/package/kernel/mac80211/patches/ath9k/550-ath9k-of.patch
+++ b/package/kernel/mac80211/patches/ath9k/550-ath9k-of.patch
@@ -125,7 +125,7 @@
 +	} else if (ah->hw_version.devid == AR9300_DEVID_AR9340) {
 +		ah->get_mac_revision = ath79_get_soc_revision;
 +		u32 t = ath79_reset_rr(AR934X_RESET_REG_BOOTSTRAP);
-+		ah->is_clk_25mhz = !(t & AR933X_BOOTSTRAP_REF_CLK_40);
++		ah->is_clk_25mhz = !(t & AR934X_BOOTSTRAP_REF_CLK_40);
 +	} else if (ah->hw_version.devid == AR9300_DEVID_AR953X) {
 +		ah->get_mac_revision = ath79_get_soc_revision;
 +		/*




More information about the lede-commits mailing list