mac80211: ath9k: fix refclock typo

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>
This commit is contained in:
Rosen Penev 2025-06-04 14:54:21 -07:00 committed by Robert Marko
parent df9ffedb75
commit 6f607c69dc

View file

@ -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;
+ /*