Searched refs:src_regd (Results 1 – 1 of 1) sorted by relevance
448 reg_copy_regd(const struct ieee80211_regdomain *src_regd) in reg_copy_regd() argument453 regd = kzalloc(struct_size(regd, reg_rules, src_regd->n_reg_rules), in reg_copy_regd()458 memcpy(regd, src_regd, sizeof(struct ieee80211_regdomain)); in reg_copy_regd()460 for (i = 0; i < src_regd->n_reg_rules; i++) in reg_copy_regd()461 memcpy(®d->reg_rules[i], &src_regd->reg_rules[i], in reg_copy_regd()