Home
last modified time | relevance | path

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

/linux-5.19.10/net/wireless/
Dreg.c447 reg_copy_regd(const struct ieee80211_regdomain *src_regd) in reg_copy_regd() argument
452 regd = kzalloc(struct_size(regd, reg_rules, src_regd->n_reg_rules), in reg_copy_regd()
457 memcpy(regd, src_regd, sizeof(struct ieee80211_regdomain)); in reg_copy_regd()
459 for (i = 0; i < src_regd->n_reg_rules; i++) in reg_copy_regd()
460 memcpy(&regd->reg_rules[i], &src_regd->reg_rules[i], in reg_copy_regd()