summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Limonciello <mario_limonciello@dell.com>2016-07-28 19:53:47 +0200
committerDarren Hart <dvhart@linux.intel.com>2016-12-13 18:28:59 +0100
commit915ac0574c85e4202a4ede961d9e1230b1cca06f (patch)
treeea17ba60456f95e8e68c1ced45347e7d655e4e2c
parentplatform/x86: intel_pmc_core: Add KBL CPUID support (diff)
downloadlinux-915ac0574c85e4202a4ede961d9e1230b1cca06f.tar.xz
linux-915ac0574c85e4202a4ede961d9e1230b1cca06f.zip
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 <mario_limonciello@dell.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r--drivers/platform/x86/dell-wmi.c2
1 files changed, 1 insertions, 1 deletions
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 } },