> + /* Will be ANDed with DART capabilities */ > + cfg->supports_bypass = true; ... > + if (!dart->supports_bypass) > + cfg->supports_bypass = false; Probably better to write cfg->supports_bypass &= dart->supports_bypass; To match what's in the comment!