projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3958fb3
)
[IrDA]: Removed incorrect IRDA_ASSERT()
author
Samuel Ortiz
<
[email protected]
>
Tue, 16 Jan 2007 03:40:34 +0000
(19:40 -0800)
committer
David S. Miller
<
[email protected]
>
Wed, 24 Jan 2007 04:25:50 +0000
(20:25 -0800)
With USB2.0 bulk out MTU can be 512 bytes, so checking it only for 64
bytes is incorrect.
Signed-off-by: Samuel Ortiz <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/irda/irda-usb.c
patch
|
blob
|
history
diff --git
a/drivers/net/irda/irda-usb.c
b/drivers/net/irda/irda-usb.c
index 80cbf3f8043270c2924e1838c46a43e07e45c4d1..340ee99652eb855359bf24faf9cc627988a97fe4 100644
(file)
--- a/
drivers/net/irda/irda-usb.c
+++ b/
drivers/net/irda/irda-usb.c
@@
-1515,8
+1515,6
@@
static inline int irda_usb_parse_endpoints(struct irda_usb_cb *self, struct usb_
IRDA_DEBUG(0, "%s(), And our endpoints are : in=%02X, out=%02X (%d), int=%02X\n",
__FUNCTION__, self->bulk_in_ep, self->bulk_out_ep, self->bulk_out_mtu, self->bulk_int_ep);
- /* Should be 8, 16, 32 or 64 bytes */
- IRDA_ASSERT(self->bulk_out_mtu == 64, ;);
return((self->bulk_in_ep != 0) && (self->bulk_out_ep != 0));
}