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:
parent
df9ffedb75
commit
6f607c69dc
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@
|
||||||
+ } else if (ah->hw_version.devid == AR9300_DEVID_AR9340) {
|
+ } else if (ah->hw_version.devid == AR9300_DEVID_AR9340) {
|
||||||
+ ah->get_mac_revision = ath79_get_soc_revision;
|
+ ah->get_mac_revision = ath79_get_soc_revision;
|
||||||
+ u32 t = ath79_reset_rr(AR934X_RESET_REG_BOOTSTRAP);
|
+ 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) {
|
+ } else if (ah->hw_version.devid == AR9300_DEVID_AR953X) {
|
||||||
+ ah->get_mac_revision = ath79_get_soc_revision;
|
+ ah->get_mac_revision = ath79_get_soc_revision;
|
||||||
+ /*
|
+ /*
|
||||||
|
|
Loading…
Reference in a new issue