* [PATCH 2/2] [IrDA] Removed incorrect IRDA_ASSERT()
@ 2007-01-15 9:15 Samuel Ortiz
[not found] ` <20070115091542.GB3532-jcdQHdrhKHMdnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Ortiz @ 2007-01-15 9:15 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev, irda-users
With USB2.0 bulk out MTU can be 512 bytes, so checking it only for 64 bytes is
incorrect.
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
---
drivers/net/irda/irda-usb.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c
index 8381c04..a66aacf 100644
--- 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));
}
--
1.4.4.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-16 3:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-15 9:15 [PATCH 2/2] [IrDA] Removed incorrect IRDA_ASSERT() Samuel Ortiz
[not found] ` <20070115091542.GB3532-jcdQHdrhKHMdnm+yROfE0A@public.gmane.org>
2007-01-16 3:39 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).