mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][2.5] keyboard.c Fix SAK in raw mode
@ 2003-04-17  0:42 Chris Heath
  0 siblings, 0 replies; only message in thread
From: Chris Heath @ 2003-04-17  0:42 UTC (permalink / raw)
  To: linux-kernel

Trivial fix to get the SAK key working in raw and medium raw modes. 
Patch is against kernel 2.5.67.

Chris



--- a/drivers/char/keyboard.c	2003-04-12 09:50:18.000000000 -0400
+++ b/drivers/char/keyboard.c	2003-04-13 20:52:42.000000000 -0400
@@ -601,7 +601,7 @@
 		return;
 	if ((kbd->kbdmode == VC_RAW || 
 	     kbd->kbdmode == VC_MEDIUMRAW) && 
-	     value != K_SAK)
+	     value != KVAL(K_SAK))
 		return;		/* SAK is allowed even in raw mode */
 	fn_handler[value](vc, regs);
 }



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-17  0:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-17  0:42 [PATCH][2.5] keyboard.c Fix SAK in raw mode Chris Heath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®