Skip to content

Commit

Permalink
[IrDA]: Removed incorrect IRDA_ASSERT()
Browse files Browse the repository at this point in the history
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Samuel Ortiz authored and David S. Miller committed Jan 24, 2007
1 parent 3958fb3 commit 8f1adb5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/irda/irda-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 8f1adb5

Please sign in to comment.