sony-laptop: map wireless switch events to KEY_WLAN
authorMattia Dongili <malattia@linux.it>
Sun, 15 Jul 2007 17:34:34 +0000 (02:34 +0900)
committerLen Brown <len.brown@intel.com>
Sun, 22 Jul 2007 04:34:58 +0000 (00:34 -0400)
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/sony-laptop.c

index 0f378fe..142d660 100644 (file)
@@ -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 },
 };