Skip to content

Commit

Permalink
ETH_MAX_PACKET_SIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
fetisov committed Dec 30, 2015
1 parent e98aaa3 commit bb87140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lrndis/rndis-stm32/usbd_rndis_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ bool rndis_can_send(void)
bool rndis_send(const void *data, int size)
{
if (size <= 0 ||
size > ETH_MTU ||
size > ETH_MAX_PACKET_SIZE ||
rndis_tx_size > 0) return false;

__disable_irq();
Expand Down

0 comments on commit bb87140

Please sign in to comment.