mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
ps2: reject unknown commands, instead of blindly accepting them
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Message-id: 1473969987-5890-2-git-send-email-hpoussin@reactos.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
Gerd Hoffmann
parent
7cfdc02dae
commit
06b3611fc2
+1
-1
@@ -290,7 +290,7 @@ void ps2_write_keyboard(void *opaque, int val)
|
||||
ps2_queue(&s->common, KBD_REPLY_POR);
|
||||
break;
|
||||
default:
|
||||
ps2_queue(&s->common, KBD_REPLY_ACK);
|
||||
ps2_queue(&s->common, KBD_REPLY_RESEND);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user