summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanteri Toivonen <santeri.toivonen@vatsul.com>2017-04-04 20:09:00 +0200
committerDarren Hart (VMware) <dvhart@infradead.org>2017-04-13 19:14:37 +0200
commitf35823619db8bbaa2afea8705f239c3cecb9d22f (patch)
tree1805f7109b8c35baed2df0038a31557025319095
parentplatform/x86: fujitsu-laptop: rename call_fext_func() arguments (diff)
downloadlinux-f35823619db8bbaa2afea8705f239c3cecb9d22f.tar.xz
linux-f35823619db8bbaa2afea8705f239c3cecb9d22f.zip
platform/x86: asus-nb-wmi: Add wapf4 quirk for the X302UA
Asus laptop X302UA starts up with Wi-Fi disabled, without a way to enable it. Set wapf=4 to fix the problem. Signed-off-by: Santeri Toivonen <santeri.toivonen@vatsul.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
-rw-r--r--drivers/platform/x86/asus-nb-wmi.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
index dea98ffb6f60..1ae58d906536 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -144,6 +144,15 @@ static const struct dmi_system_id asus_quirks[] = {
},
{
.callback = dmi_matched,
+ .ident = "ASUSTeK COMPUTER INC. X302UA",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "X302UA"),
+ },
+ .driver_data = &quirk_asus_wapf4,
+ },
+ {
+ .callback = dmi_matched,
.ident = "ASUSTeK COMPUTER INC. X401U",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),