]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mac80211: ath9k: fix refclock typo
authorRosen Penev <rosenp@gmail.com>
Wed, 4 Jun 2025 21:54:21 +0000 (14:54 -0700)
committerRobert Marko <robimarko@gmail.com>
Thu, 5 Jun 2025 11:10:25 +0000 (13:10 +0200)
Fixes ath9k on ar934x platforms.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19031
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/mac80211/patches/ath9k/550-ath9k-of.patch

index 3e80304b805aafc99278ff46932ced7bdad4d734..94fcc816dfd08a5b91b5297a9d6bbf4e6b7824b0 100644 (file)
 +      } 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;
 +              /*