diff options
author | Daniel Drake <drake@endlessm.com> | 2015-09-02 18:10:34 -0400 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-09-06 13:44:48 -0400 |
commit | 8901c18b6cafa51f7985f1031968bbfe9dc47735 (patch) | |
tree | 52929791b9222cb7099a4aee9ef08bdbef398a33 /drivers/platform | |
parent | 628b3198ccc235e387c0b8ee200c10c883e86644 (diff) |
asus-nb-wmi: Add wapf=4 quirk for X456UA/X456UF
These laptops boot with wifi as hard-blocked, with no obvious way to
enable it. Using a quirk to set wapf=4 solves the problem.
Signed-off-by: Daniel Drake <drake@endlessm.com>
Acked-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/asus-nb-wmi.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index abdaed34c728..131fee2b093e 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c | |||
@@ -128,6 +128,24 @@ static const struct dmi_system_id asus_quirks[] = { | |||
128 | }, | 128 | }, |
129 | { | 129 | { |
130 | .callback = dmi_matched, | 130 | .callback = dmi_matched, |
131 | .ident = "ASUSTeK COMPUTER INC. X456UA", | ||
132 | .matches = { | ||
133 | DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), | ||
134 | DMI_MATCH(DMI_PRODUCT_NAME, "X456UA"), | ||
135 | }, | ||
136 | .driver_data = &quirk_asus_wapf4, | ||
137 | }, | ||
138 | { | ||
139 | .callback = dmi_matched, | ||
140 | .ident = "ASUSTeK COMPUTER INC. X456UF", | ||
141 | .matches = { | ||
142 | DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), | ||
143 | DMI_MATCH(DMI_PRODUCT_NAME, "X456UF"), | ||
144 | }, | ||
145 | .driver_data = &quirk_asus_wapf4, | ||
146 | }, | ||
147 | { | ||
148 | .callback = dmi_matched, | ||
131 | .ident = "ASUSTeK COMPUTER INC. X501U", | 149 | .ident = "ASUSTeK COMPUTER INC. X501U", |
132 | .matches = { | 150 | .matches = { |
133 | DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), | 151 | DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), |