[PATCH 4/7] qcap: Use separate functions when searching from a pin and filter.