Revision 6937b376 hw/ps2.c

b/hw/ps2.c
185 185
{
186 186
    s->scan_enabled = 1;
187 187
    s->scancode_set = 2;
188
    kbd_put_ledstate(0);
188 189
}
189 190

  
190 191
void ps2_write_keyboard(void *opaque, int val)
......
259 260
        s->common.write_cmd = -1;
260 261
        break;
261 262
    case KBD_CMD_SET_LEDS:
263
        kbd_put_ledstate(val);
262 264
        ps2_queue(&s->common, KBD_REPLY_ACK);
263 265
        s->common.write_cmd = -1;
264 266
        break;

Also available in: Unified diff