platform/x86: dell-wmi: Adjust wifi catcher to emit KEY_WLAN
authorMario Limonciello <mario_limonciello@dell.com>
Thu, 28 Jul 2016 17:53:47 +0000 (12:53 -0500)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 13 Dec 2016 17:28:59 +0000 (09:28 -0800)
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>
drivers/platform/x86/dell-wmi.c

index da2fe18..46c20ec 100644 (file)
@@ -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 } },