Re: Help with debugging no-callback problem with IrDA USB dongle (SOLVED!)

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.