Properly check for buffered data in ukbd_check_char(). This fixes issues
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 28 Feb 2006 18:48:01 +0000 (18:48 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 28 Feb 2006 18:48:01 +0000 (18:48 +0000)
commit8ddb20735ad336b4ad68d236904d6ef33946253c
tree4d199a34b14e9bedda60d54afd110d724dfbeea4
parentdf0118164e298366a3f564bd5b08405c93fb7907
Properly check for buffered data in ukbd_check_char().  This fixes issues
with key codes getting mixed up between muxed keyboards.

Taken-from: FreeBSD / ukbd.c 1.53
Reported-by: "Norbert Koch" <NKoch@demig.de>
sys/dev/usbmisc/ukbd/ukbd.c