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