Skip to content

Commit 796eac3

Browse files
antheasgregkh
authored andcommitted
platform/x86: asus-wmi: Remove extra keys from ignore_key_wlan quirk
[ Upstream commit cf3940a ] Currently, the ignore_key_wlan quirk applies to keycodes 0x5D, 0x5E, and 0x5F. However, the relevant code for the Asus Zenbook Duo is only 0x5F. Since this code is emitted by other Asus devices, such as from the Z13 for its ROG button, remove the extra codes before expanding the quirk. For the Duo devices, which are the only ones that use this quirk, there should be no effect. Fixes: 9286dfd ("platform/x86: asus-wmi: Fix spurious rfkill on UX8406MA") Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev> Link: https://lore.kernel.org/r/20250808154710.8981-1-lkml@antheas.dev Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 369bf6e commit 796eac3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/platform/x86/asus-nb-wmi.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,8 +655,6 @@ static void asus_nb_wmi_key_filter(struct asus_wmi_driver *asus_wmi, int *code,
655655
if (atkbd_reports_vol_keys)
656656
*code = ASUS_WMI_KEY_IGNORE;
657657
break;
658-
case 0x5D: /* Wireless console Toggle */
659-
case 0x5E: /* Wireless console Enable */
660658
case 0x5F: /* Wireless console Disable */
661659
if (quirks->ignore_key_wlan)
662660
*code = ASUS_WMI_KEY_IGNORE;

0 commit comments

Comments
 (0)