aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/rndis_host.h
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2008-06-18 15:40:12 +0300
committerJeff Garzik <jgarzik@redhat.com>2008-06-28 10:23:34 -0400
commit818727badc14ce57dc099a075b05505d50b7956e (patch)
tree11dd25656d1fbcdf8861de3a11eeeb1f9538a93f /include/linux/usb/rndis_host.h
parentnet: sh_eth: Fix compile error sh_eth (diff)
downloadlinux-dev-818727badc14ce57dc099a075b05505d50b7956e.tar.xz
linux-dev-818727badc14ce57dc099a075b05505d50b7956e.zip
rndis_host: pass buffer length to rndis_command
Pass buffer length to rndis_command so that rndis_command can read full response buffer from device instead of max CONTROL_BUFFER_SIZE bytes. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/usb/rndis_host.h')
-rw-r--r--include/linux/usb/rndis_host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/usb/rndis_host.h b/include/linux/usb/rndis_host.h
index 29d6458ecb8d..0a6e6d4b929a 100644
--- a/include/linux/usb/rndis_host.h
+++ b/include/linux/usb/rndis_host.h
@@ -260,7 +260,8 @@ struct rndis_keepalive_c { /* IN (optionally OUT) */
extern void rndis_status(struct usbnet *dev, struct urb *urb);
-extern int rndis_command(struct usbnet *dev, struct rndis_msg_hdr *buf);
+extern int
+rndis_command(struct usbnet *dev, struct rndis_msg_hdr *buf, int buflen);
extern int
generic_rndis_bind(struct usbnet *dev, struct usb_interface *intf, int flags);
extern void rndis_unbind(struct usbnet *dev, struct usb_interface *intf);