Am Donnerstag, 3. Mai 2007 18:35 schrieb Alex Villacís Lasso:
> /* Coming out of suspend, so reset hardware */
> static int kingsun_resume(struct usb_interface *intf)
> {
> struct kingsun_cb *kingsun = usb_get_intfdata(intf);
>
> if (kingsun->rx_urb != NULL) usb_submit_urb(kingsun->rx_urb,
> GFP_KERNEL);
> netif_device_attach(kingsun->netdev);
>
> return 0;
> }
Do you really want to submit the URB whether the device has been opened
or not?
Regards
Oliver
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel