if ((dum->devstatus & (1 << USB_DEVICE_REMOTE_WAKEUP)) == 0 || !(dum->port_status & (1 << USB_PORT_FEAT_SUSPEND))) 
if (!(dum->port_status & (1 << USB_PORT_FEAT_SUSPEND)) || !(dum->devstatus & ( (1 << USB_DEVICE_B_HNP_ENABLE) | (1 << USB_DEVICE_REMOTE_WAKEUP)))) 
static int dummy_wakeup (struct usb_gadget *_gadget){	struct dummy	*dum;	dum = gadget_to_dummy (_gadget);	if ((dum->devstatus & (1 << USB_DEVICE_REMOTE_WAKEUP)) == 0			|| !(dum->port_status & (1 << USB_PORT_FEAT_SUSPEND)))		return -EINVAL;	/* hub notices our request, issues downstream resume, etc */	dum->resuming = 1;	dum->port_status |= (1 << USB_PORT_FEAT_C_SUSPEND);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/5742b0c95026c817d9c266174ca39a909e8d38ca/dummy_hcd.c/buggy/drivers/usb/gadget/dummy_hcd.c