/* We only reduce the size by two bytes because the WUSB 1.0 scan command does not have the last field (wStarttime). Also, make sure we don't send the device an unexpected scan type.  */
static int hwarc_filter_cmd_scan_WUSB_0100(struct uwb_rc *rc, struct uwb_rccb **header, size_t *size)
/* We only reduce the size by two bytes because the WUSB 1.0 scan command does not have the last field (wStarttime). Also, make sure we don't send the device an unexpected scan type.  */
static int hwarc_filter_cmd_scan_WUSB_0100(struct uwb_rc *rc, struct uwb_rccb **header, size_t *size)
{
	struct uwb_rc_cmd_scan *sc;
	sc = container_of(*header, struct uwb_rc_cmd_scan, rccb);
	if (sc->bScanState == UWB_SCAN_ONLY_STARTTIME)
		sc->bScanState = UWB_SCAN_ONLY;
	*size -= 2;
	return 0;
}