1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

hkbd: Fix typo which disables keyboard input in kdb

Reported by:	Greg V
MFC after:	1 week
This commit is contained in:
Vladimir Kondratyev 2021-04-24 21:49:27 +03:00
parent 77651151f3
commit e68d76c054

View File

@ -917,7 +917,7 @@ hkbd_attach(device_t dev)
/* interrupt handler will be called with hkbd mutex taken */
hidbus_set_lock(dev, &sc->sc_mtx);
/* interrupt handler can be called during panic */
hidbus_set_flags(dev, hidbus_get_flags(dev) & HIDBUS_FLAG_CAN_POLL);
hidbus_set_flags(dev, hidbus_get_flags(dev) | HIDBUS_FLAG_CAN_POLL);
/* setup default keyboard maps */