dell-wmi: Don't report keypresses for radio state changes
authorGabriele Mazzotta <gabriele.mzt@gmail.com>
Wed, 3 Dec 2014 23:16:21 +0000 (00:16 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 3 Dec 2014 18:10:16 +0000 (10:10 -0800)
commit8f8d75ebf075001485d787a4429ba15b1dd8dd7a
treea0f69baf42f9db9a07e7b6d8a9175cfe894748da
parentabe0b77558e8a3e5ee017ec25a426bf1fd5a0562
dell-wmi: Don't report keypresses for radio state changes

The WMI events associated to KEY_WLAN are for all the radio devices
available. Use KEY_RFKILL instead since it's more appropriate.

The state of radio devices is changed directly by the BIOS when hotkeys
are pressed, so no events should be reported.

Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Merged two patches modifying this one line
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/dell-wmi.c