VirtualBox

Changeset 37102 in vbox


Ignore:
Timestamp:
May 16, 2011 12:43:13 PM (14 years ago)
Author:
vboxsync
Message:

dev/serial: fix the case pfnWrite returns VERR_TIMEOUT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/DrvChar.cpp

    r35353 r37102  
    174174            /* Normal case, just means that the stream didn't accept a new
    175175             * character before the timeout elapsed. Just retry. */
    176             rc = VINF_SUCCESS;
     176
     177            /* do not change the rc status here, otherwise the (rc == VERR_TIMEOUT) branch
     178             * in the wait above will never get executed */
     179            /* rc = VINF_SUCCESS; */
    177180        }
    178181        else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette