Home
last modified time | relevance | path

Searched refs:regd_copy (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/wireless/ath/ath11k/
H A Dreg.c225 struct ieee80211_regdomain *regd_copy) in ath11k_copy_regd() argument
230 memcpy(regd_copy, regd_orig, sizeof(*regd_orig)); in ath11k_copy_regd()
233 memcpy(&regd_copy->reg_rules[i], &regd_orig->reg_rules[i], in ath11k_copy_regd()
239 struct ieee80211_regdomain *regd, *regd_copy = NULL; in ath11k_regd_update() local
275 regd_copy = kzalloc(regd_len, GFP_ATOMIC); in ath11k_regd_update()
276 if (regd_copy) in ath11k_regd_update()
277 ath11k_copy_regd(regd, regd_copy); in ath11k_regd_update()
281 if (!regd_copy) { in ath11k_regd_update()
286 ret = regulatory_set_wiphy_regd(ar->hw->wiphy, regd_copy); in ath11k_regd_update()
288 kfree(regd_copy); in ath11k_regd_update()