keyboard_8042: ensure key scanning on when keyboard enabled
BRANCH=none
TEST=Boot Windows in legacy mode and observe keyboard is working.
Tested-by: Stefan Reinauer
@@ -692,6 +692,8 @@ static int handle_keyboard_command(uint8_t command, uint8_t *output)
case I8042_ENA_KB:
update_ctl_ram(0, read_ctl_ram(0) & ~I8042_KBD_DIS);
+ keystroke_enable(1);
+ keyboard_clear_buffer();
break;
case I8042_READ_OUTPUT_PORT:
