drivers/usbdev/rndis.c: Fixes copy/paste error introduced in last rndis change.

This commit is contained in:
Anthony Merlino 2019-07-23 17:59:53 -06:00 committed by Gregory Nutt
parent 7a0a032cd9
commit 9fa5bd8df4

View File

@ -1940,8 +1940,8 @@ static int usbclass_copy_epdesc(int epid, FAR struct usb_epdesc_s *epdesc,
{
/* Maximum packet size (full speed) */
epdesc->mxpacketsize[0] = LSBYTE(CONFIG_RNDIS_EPBULKIN_HSSIZE);
epdesc->mxpacketsize[1] = MSBYTE(CONFIG_RNDIS_EPBULKIN_HSSIZE);
epdesc->mxpacketsize[0] = LSBYTE(CONFIG_RNDIS_EPBULKIN_FSSIZE);
epdesc->mxpacketsize[1] = MSBYTE(CONFIG_RNDIS_EPBULKIN_FSSIZE);
}
epdesc->interval = 0; /* Interval */