Skip to contentSkip to conversation

ath10k: remove CTRY_DEFAULT assignment

PATCH New Michal Kazior 2 participants 2 messages May 16, 2013 – May 21, 2013 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath10k: remove CTRY_DEFAULT assignment

The country is be overwritten by the eeprom
regdomain that we read from WMI event anyway.

---
 drivers/net/wireless/ath/ath10k/mac.c |    1 -
 1 file changed, 1 deletion(-)
drivers/net/wireless/ath/ath10k/mac.c +0 -1
index 974f992..9454ff3 100644
@@ -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
Applied
#1 lore raw

PATCH 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.

Thanks, applied.

Signature · 1 line
Kalle Valo