ath10k: remove CTRY_DEFAULT assignment
PATCH 1/1 ath10k: remove CTRY_DEFAULT assignment
The country is be overwritten by the eeprom
regdomain that we read from WMI event anyway.
Signed-off-by Michal Kazior <[email protected]>
--- drivers/net/wireless/ath/ath10k/mac.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/wireless/ath/ath10k/mac.c +0 -1
@@ -2941,7 +2941,6 @@ int ath10k_mac_register(struct ath10k *ar) ar->hw->wiphy->iface_combinations = &ath10k_if_comb; ar->hw->wiphy->n_iface_combinations =1 ; - ar->ath_common.regulatory.country_code =CTRY_DEFAULT ; ret =ath_regd_init (&ar->ath_common.regulatory, ar->hw->wiphy, ath10k_reg_notifier);if (ret) {
Signature · 1 line
1.7.9.5
Kalle Valo
AppliedPATCH 1/1 ath10k: remove CTRY_DEFAULT assignment
Quoted 4 lines · Michal Kazior
The country is be overwritten by the eeprom
regdomain that we read from WMI event anyway.Signed-off-by Michal Kazior <[email protected]>
Thanks, applied.
Signature · 1 line
Kalle Valo