Skip to content

Commit 6be3b6c

Browse files
RyanHsukvalo
authored andcommitted
ath10k: fix incorrect wlan_mac_base in qca6174_regs
In the 'commit ebee76f ("ath10k: allow setting coverage class")', it inherits the design and the address offset from ath9k, but the address is not applicable to QCA6174, which leads to a random crash while doing the resume() operation, since the set_coverage_class.ops will be called from ieee80211_reconfig() when resume() (if the wow is not configured). Fix the incorrect address offset here to avoid the random crash. Verified on QCA6174/hw3.0 with firmware WLAN.RM.4.4-00022-QCARMSWPZ-2. kvalo: this also seems to fix a regression with firmware restart. Fixes: ebee76f ("ath10k: allow setting coverage class") Cc: <[email protected]> # v4.10 Signed-off-by: Ryan Hsu <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent cf8c44d commit 6be3b6c

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/ath/ath10k

1 file changed

+1
-1
lines changed

drivers/net/wireless/ath/ath10k/hw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const struct ath10k_hw_regs qca6174_regs = {
5151
.rtc_soc_base_address = 0x00000800,
5252
.rtc_wmac_base_address = 0x00001000,
5353
.soc_core_base_address = 0x0003a000,
54-
.wlan_mac_base_address = 0x00020000,
54+
.wlan_mac_base_address = 0x00010000,
5555
.ce_wrapper_base_address = 0x00034000,
5656
.ce0_base_address = 0x00034400,
5757
.ce1_base_address = 0x00034800,

0 commit comments

Comments
 (0)