Searched refs:regd_copy (Results 1 – 1 of 1) sorted by relevance
189 struct ieee80211_regdomain *regd_copy) in ath11k_copy_regd() argument194 memcpy(regd_copy, regd_orig, sizeof(*regd_orig)); in ath11k_copy_regd()197 memcpy(®d_copy->reg_rules[i], ®d_orig->reg_rules[i], in ath11k_copy_regd()203 struct ieee80211_regdomain *regd, *regd_copy = NULL; in ath11k_regd_update() local238 regd_copy = kzalloc(regd_len, GFP_ATOMIC); in ath11k_regd_update()239 if (regd_copy) in ath11k_regd_update()240 ath11k_copy_regd(regd, regd_copy); in ath11k_regd_update()244 if (!regd_copy) { in ath11k_regd_update()251 ret = regulatory_set_wiphy_regd_sync(ar->hw->wiphy, regd_copy); in ath11k_regd_update()255 kfree(regd_copy); in ath11k_regd_update()