about release an URB

"gutian abei" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
I am developing an USB device driver for Linux.I got a question about 
release an URB.
I allocated an URB with usb_alloc_urb() method in probe function when I 
found some useful endpoint information.
Then I would release the URB in the disconnect function using 
usb_free_urb() method. I didn't submit the URB to USB core.
The driver can be compiled and inserted into system correctly. But when I 
tried to remove it from system, the system froze.
Please help me, thanks!

Abei

_________________________________________________________________
芒路 MSN Explorer:   http://explorer.msn.com/lccn

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
[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.