]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/usb_kbd.c
malloc: work around some memalign fragmentation issues
[people/ms/u-boot.git] / common / usb_kbd.c
index cbb1995de3398431878811f92f6e79551b947965..d84865fbbe26bb337d9453a86c03d8dbb06ae43d 100644 (file)
@@ -199,7 +199,7 @@ static int usb_kbd_translate(struct usb_kbd_pdata *data, unsigned char scancode,
                }
        }
 
-       if ((scancode > 0x1d) && (scancode < 0x3a)) {
+       if ((scancode > 0x1d) && (scancode < 0x39)) {
                /* Shift pressed */
                if (modifier & (LEFT_SHIFT | RIGHT_SHIFT))
                        keycode = usb_kbd_numkey_shifted[scancode - 0x1e];