CDC/ACM and PL2303 device drivers: Don't use the max packet size assigned to an endpoint in order to determine the request buffer size. The endpoint has not yet been configured that max packet size may be wrong.

This commit is contained in:
Gregory Nutt 2013-09-05 18:00:16 -06:00
parent 6f3d2936dd
commit 2eba7facbc

View File

@ -1240,6 +1240,7 @@ Configurations
Device Drivers -> USB Device Driver Support
CONFIG_CDCACM=y : Enable the CDC/ACM device
CONFIG_CDCACM_BULKIN_REQLEN=768 : Default too small for high-speed
The following setting enables an example that can can be used to
control the CDC/ACM device. It will add two new NSH commands: