aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/net/if_cdcereg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/net/if_cdcereg.h')
-rw-r--r--sys/dev/usb/net/if_cdcereg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/net/if_cdcereg.h b/sys/dev/usb/net/if_cdcereg.h
index 5594a2fd0bcc..c470b368e066 100644
--- a/sys/dev/usb/net/if_cdcereg.h
+++ b/sys/dev/usb/net/if_cdcereg.h
@@ -39,7 +39,7 @@
#define CDCE_IND_SIZE_MAX 32 /* bytes */
#define CDCE_NCM_TX_MINLEN 512 /* bytes, must be power of two */
-#define CDCE_NCM_TX_MAXLEN (1UL << 14) /* bytes */
+#define CDCE_NCM_TX_MAXLEN (16384 + 4) /* bytes, must be short terminated */
#define CDCE_NCM_TX_FRAMES_MAX 8 /* units */
#define CDCE_NCM_RX_MAXLEN (1UL << 14) /* bytes */