diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-03-20 18:56:27 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-03-20 18:56:27 +0000 |
commit | 83e8c0befefb680ec6805a51636a3602d8b25212 (patch) | |
tree | 0c6b39d5d7298128c3f71f0c117835c996aa744e /sys/dev/usb/serial/ubser.c | |
parent | 4ed7cea882003c35dd1d4d0963de52108efd411b (diff) | |
download | FreeBSD-src-83e8c0befefb680ec6805a51636a3602d8b25212.zip FreeBSD-src-83e8c0befefb680ec6805a51636a3602d8b25212.tar.gz |
MFp4 //depot/projects/usb @159375,159376,159377
Further remove dependancy towards Giant.
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/serial/ubser.c')
-rw-r--r-- | sys/dev/usb/serial/ubser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/serial/ubser.c b/sys/dev/usb/serial/ubser.c index 3aaad78..266af1d 100644 --- a/sys/dev/usb/serial/ubser.c +++ b/sys/dev/usb/serial/ubser.c @@ -244,8 +244,8 @@ ubser_attach(device_t dev) req.wIndex[0] = sc->sc_iface_no; req.wIndex[1] = 0; USETW(req.wLength, 1); - error = usb2_do_request_flags - (uaa->device, &Giant, &req, &sc->sc_numser, + error = usb2_do_request_flags(uaa->device, NULL, + &req, &sc->sc_numser, 0, NULL, USB_DEFAULT_TIMEOUT); if (error || (sc->sc_numser == 0)) { |