then match->n_channels updated here: if (!match) goto out_report_nd; + match->n_channels = n_channels; Thanks for the explanation. This is what I was looking for, and I missed this line. Sorry for the noise.
then match->n_channels updated here: if (!match) goto out_report_nd; + match->n_channels = n_channels;