diff --git a/src/add-ons/kernel/bus_managers/ps2/ps2_dev.cpp b/src/add-ons/kernel/bus_managers/ps2/ps2_dev.cpp index 4fa5e55a3a..229f0d736d 100644 --- a/src/add-ons/kernel/bus_managers/ps2/ps2_dev.cpp +++ b/src/add-ons/kernel/bus_managers/ps2/ps2_dev.cpp @@ -45,7 +45,7 @@ ps2_reset_mouse(ps2_dev* dev) status = ps2_dev_command(dev, PS2_CMD_RESEND, NULL, 0, data, 2); } - if (status == B_OK && data[0] != 0xAA && data[1] != 0x00) { + if (status == B_OK && (data[0] != 0xAA || data[1] != 0x00)) { TRACE("ps2: reset mouse failed, response was: 0x%02x 0x%02x\n", data[0], data[1]); status = B_ERROR;