aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/thinkpad_acpi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c
index 0222bbaf7b76..8aa0f9694b87 100644
--- a/drivers/misc/thinkpad_acpi.c
+++ b/drivers/misc/thinkpad_acpi.c
@@ -1149,9 +1149,11 @@ static void tpacpi_input_send_radiosw(void)
1149{ 1149{
1150 int wlsw; 1150 int wlsw;
1151 1151
1152 if (tp_features.hotkey_wlsw && !hotkey_get_wlsw(&wlsw)) 1152 if (tp_features.hotkey_wlsw && !hotkey_get_wlsw(&wlsw)) {
1153 input_report_switch(tpacpi_inputdev, 1153 input_report_switch(tpacpi_inputdev,
1154 SW_RADIO, !!wlsw); 1154 SW_RADIO, !!wlsw);
1155 input_sync(tpacpi_inputdev);
1156 }
1155} 1157}
1156 1158
1157static void hotkey_notify(struct ibm_struct *ibm, u32 event) 1159static void hotkey_notify(struct ibm_struct *ibm, u32 event)