Revisión | 421fe385063571c80479f30174f8aaf69a3dcfc0 (tree) |
---|---|
Tiempo | 2014-04-28 13:30:13 |
Autor | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
remove ZLP sending
@@ -417,7 +417,7 @@ static struct rs232_emu rs232_desc={ | ||
417 | 417 | .data_bits = 0x08 |
418 | 418 | }; |
419 | 419 | |
420 | -DEFINE_CACHE_ALIGN_BUFFER(u8, control_req, 8); | |
420 | +DEFINE_CACHE_ALIGN_BUFFER(u8, control_req, USB_BUFSIZ); | |
421 | 421 | |
422 | 422 | #if defined(CONFIG_USB_TTY_CDC) |
423 | 423 | DEFINE_CACHE_ALIGN_BUFFER(u8, status_req, STATUS_BYTECOUNT); |
@@ -1152,9 +1152,6 @@ static void tty_setup_complete(struct usb_ep *ep, struct usb_request *req) | ||
1152 | 1152 | usb_ep_queue(ep, req, GFP_ATOMIC); |
1153 | 1153 | } |
1154 | 1154 | if (connected) { |
1155 | - req->zero = 1; | |
1156 | - req->length = 0; | |
1157 | - usb_ep_queue(ep, req, GFP_ATOMIC); | |
1158 | 1155 | connected = 0; |
1159 | 1156 | ttydev.tty_started = 1; |
1160 | 1157 | printf("USB serial connected!\n"); |