CHROMIUM: WAR: ath10k: Do not overwrite the rd settings
Regulatory domain settings are set according to "qcom,ath10k-country-code" device tree node. If it is not set by device tree node then, eeprom programmed settings are used to set regulatory domain(rd). Later during mac register, rd can be overwritten by ACPI entry in ath10k_mac_get_wrdd_regulatory. If ath10k_mac_get_wrdd_regulatory returns failure then the rd is set to the eeprom programmed rd. This overwrites the rd settings done according to "qcom,ath10k-country-code" device tree node. To fix this issue, skip overwriting the rd if ath10k_mac_get_wrdd_regulatory fails. BUG=b:132147953 TEST=None Change-Id: Iabe26caba969bb566ef73272efad9ebd5fc6c017 Signed-off-by:Surabhi Vishnoi <svishnoi@codeaurora.org> Signed-off-by:
Vamsi Singamsetty <vamssi@codeaurora.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1597063 Reviewed-by:
Zhihong Yu <zhihongyu@chromium.org> Reviewed-by:
Govind Singh <govinds@qualcomm.corp-partner.google.com> Commit-Queue: Zhihong Yu <zhihongyu@chromium.org> Tested-by:
Zhihong Yu <zhihongyu@chromium.org>
Loading
Please sign in to comment