diff options
author | Mattia Dongili <malattia@linux.it> | 2007-07-16 02:34:34 +0900 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-22 00:34:58 -0400 |
commit | 8538c3686c895f9334a3c22997b51b5a82de7550 (patch) | |
tree | f96d4046ded0fc84749b3ee1ef144731c08cfc62 /drivers/misc | |
parent | 044847e02d46c0a9430e19249fd68777bb1d3c98 (diff) | |
download | lwn-8538c3686c895f9334a3c22997b51b5a82de7550.tar.gz lwn-8538c3686c895f9334a3c22997b51b5a82de7550.zip |
sony-laptop: map wireless switch events to KEY_WLAN
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/sony-laptop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c index 0f378fe44c1d..142d660b46c8 100644 --- a/drivers/misc/sony-laptop.c +++ b/drivers/misc/sony-laptop.c @@ -177,6 +177,8 @@ static struct { { SONYPI_EVENT_BACK_PRESSED, KEY_BACK }, { SONYPI_EVENT_HELP_PRESSED, KEY_HELP }, { SONYPI_EVENT_ZOOM_PRESSED, KEY_ZOOM }, + { SONYPI_EVENT_WIRELESS_ON, KEY_WLAN }, + { SONYPI_EVENT_WIRELESS_OFF, KEY_WLAN }, { SONYPI_EVENT_THUMBPHRASE_PRESSED, BTN_THUMB }, { 0, 0 }, }; |