diff options
author | Duncan Sands <baldrick@free.fr> | 2006-01-13 05:06:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 20:23:40 -0500 |
commit | e3fb2f641f421662ebda48763f2f03cb9bd29e82 (patch) | |
tree | 2511087a08a177c27bf28207f3ab05ac3093b85d /drivers/usb/atm/usbatm.h | |
parent | 80aae7a17afd21f7ba900dd566fb23a2444021f8 (diff) |
[PATCH] USBATM: handle urbs containing partial cells
The receive logic has always assumed that urbs contain an integral
number of ATM cells, which is a bit naughty, though it never caused
any problems with bulk transfers. Isochronous urbs spank us soundly
for this. Fixed thanks to this patch, mostly by Stanislaw Gruszka.
Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm/usbatm.h')
-rw-r--r-- | drivers/usb/atm/usbatm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/atm/usbatm.h b/drivers/usb/atm/usbatm.h index 0e2caa0967c1..bdff534b941d 100644 --- a/drivers/usb/atm/usbatm.h +++ b/drivers/usb/atm/usbatm.h | |||
@@ -187,6 +187,13 @@ struct usbatm_data { | |||
187 | struct sk_buff_head sndqueue; | 187 | struct sk_buff_head sndqueue; |
188 | struct sk_buff *current_skb; /* being emptied */ | 188 | struct sk_buff *current_skb; /* being emptied */ |
189 | 189 | ||
190 | struct usbatm_vcc_data *cached_vcc; | ||
191 | int cached_vci; | ||
192 | short cached_vpi; | ||
193 | |||
194 | unsigned char *cell_buf; /* holds partial rx cell */ | ||
195 | unsigned int buf_usage; | ||
196 | |||
190 | struct urb *urbs[0]; | 197 | struct urb *urbs[0]; |
191 | }; | 198 | }; |
192 | 199 | ||