Searched refs:valid_rules (Results 1 – 2 of 2) sorted by relevance
1215 int valid_rules = 0; in iwl_parse_nvm_mcc_info() local1272 valid_rules++; in iwl_parse_nvm_mcc_info()1276 rule = ®d->reg_rules[valid_rules - 1]; in iwl_parse_nvm_mcc_info()1308 regd->n_reg_rules = valid_rules; in iwl_parse_nvm_mcc_info()1314 copy_rd = kmemdup(regd, struct_size(regd, reg_rules, valid_rules), in iwl_parse_nvm_mcc_info()
1037 u8 chflags, prev_chflags = 0, valid_rules = 0; in mwifiex_create_custom_regdomain() local1079 valid_rules++; in mwifiex_create_custom_regdomain()1083 rule = ®d->reg_rules[valid_rules - 1]; in mwifiex_create_custom_regdomain()1106 regd->n_reg_rules = valid_rules; in mwifiex_create_custom_regdomain()