Index: uspace/drv/usbhid/kbddev.c
===================================================================
--- uspace/drv/usbhid/kbddev.c	(revision 494eaf7379294930156ca1524c60550cf1d247fa)
+++ uspace/drv/usbhid/kbddev.c	(revision ac8285d47137bdd1bad95b7ffad724782cfc8317)
@@ -255,5 +255,5 @@
 	usb_log_debug2("\nLock keys after: 0x%x\n\n", kbd_dev->lock_keys);
 	
-	if (key = KC_CAPS_LOCK || key == KC_NUM_LOCK || key == KC_SCROLL_LOCK) {
+	if (key == KC_CAPS_LOCK || key == KC_NUM_LOCK || key == KC_SCROLL_LOCK) {
 		// do not send anything to the console, this is our business
 		return;
