Commit 7d947d39 authored by Surabhi Vishnoi's avatar Surabhi Vishnoi Committed by Zhihong Yu
Browse files

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: default avatarSurabhi Vishnoi <svishnoi@codeaurora.org>
Signed-off-by: default avatarVamsi Singamsetty <vamssi@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1597063


Reviewed-by: default avatarZhihong Yu <zhihongyu@chromium.org>
Reviewed-by: default avatarGovind Singh <govinds@qualcomm.corp-partner.google.com>
Commit-Queue: Zhihong Yu <zhihongyu@chromium.org>
Tested-by: default avatarZhihong Yu <zhihongyu@chromium.org>
parent 0cf87618
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment