aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/platform/x86/asus-nb-wmi.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
index a93a6dbe186d..8e5255d465d5 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -82,6 +82,11 @@ static struct quirk_entry quirk_no_rfkill = {
82 .no_rfkill = true, 82 .no_rfkill = true,
83}; 83};
84 84
85static struct quirk_entry quirk_no_rfkill_wapf4 = {
86 .wapf = 4,
87 .no_rfkill = true,
88};
89
85static int dmi_matched(const struct dmi_system_id *dmi) 90static int dmi_matched(const struct dmi_system_id *dmi)
86{ 91{
87 quirks = dmi->driver_data; 92 quirks = dmi->driver_data;
@@ -146,7 +151,7 @@ static const struct dmi_system_id asus_quirks[] = {
146 DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), 151 DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
147 DMI_MATCH(DMI_PRODUCT_NAME, "X456UF"), 152 DMI_MATCH(DMI_PRODUCT_NAME, "X456UF"),
148 }, 153 },
149 .driver_data = &quirk_asus_wapf4, 154 .driver_data = &quirk_no_rfkill_wapf4,
150 }, 155 },
151 { 156 {
152 .callback = dmi_matched, 157 .callback = dmi_matched,