Index: uspace/drv/usbhid/kbddev.c
===================================================================
--- uspace/drv/usbhid/kbddev.c	(revision 1c6c4092670c8cef1e8e1beaacf8cede220ab188)
+++ 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;
