From: Mattia Dongili Date: Sun, 15 Jul 2007 17:34:34 +0000 (+0900) Subject: sony-laptop: map wireless switch events to KEY_WLAN X-Git-Tag: v2.6.23-rc1~17^2~6^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8538c3686c895f9334a3c22997b51b5a82de7550;p=linux-2.6 sony-laptop: map wireless switch events to KEY_WLAN Signed-off-by: Mattia Dongili Signed-off-by: Len Brown --- diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c index 0f378fe44c..142d660b46 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 }, };