VirtualBox

Ignore:
Timestamp:
Mar 5, 2012 6:13:56 PM (13 years ago)
Author:
vboxsync
Message:

Avoid spurious resend responses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/PS2K.cpp

    r40281 r40364  
    714714int PS2KByteToKbd(PPS2K pThis, uint8_t cmd)
    715715{
     716    bool    fHandled = true;
     717
    716718    LogFlowFunc(("new cmd=0x%02X, active cmd=0x%02X\n", cmd, pThis->u8CurrCmd));
    717719
     
    809811            pThis->u8CurrCmd = 0;
    810812            break;
     813        default:
     814            fHandled = false;
    811815        }
    812     /* Fall through! */
     816        /* Fall through only to handle unrecognized commands. */
     817        if (fHandled)
     818            break;
     819
    813820    case KCMD_INVALID_1:
    814821    case KCMD_INVALID_2:
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