From: Mario Limonciello Date: Thu, 28 Jul 2016 17:53:47 +0000 (-0500) Subject: platform/x86: dell-wmi: Adjust wifi catcher to emit KEY_WLAN X-Git-Tag: v4.10-rc1~92^2~13 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=915ac0574c85e4202a4ede961d9e1230b1cca06f;p=linux.git platform/x86: dell-wmi: Adjust wifi catcher to emit KEY_WLAN Wifi catcher is a slider switch, that when slid past the on position will emit an event that is intended for launching a wifi application or applet when the machine is turned on. Signed-off-by: Mario Limonciello Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index da2fe18162e1..46c20ec8aed2 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b/drivers/platform/x86/dell-wmi.c @@ -114,7 +114,7 @@ static const struct key_entry dell_wmi_keymap_type_0000[] __initconst = { { KE_IGNORE, 0xe00e, { KEY_RESERVED } }, /* Wifi Catcher */ - { KE_KEY, 0xe011, { KEY_PROG2 } }, + { KE_KEY, 0xe011, { KEY_WLAN } }, /* Ambient light sensor toggle */ { KE_IGNORE, 0xe013, { KEY_RESERVED } },