Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3582361 authored by Santeri Toivonen's avatar Santeri Toivonen Committed by Darren Hart (VMware)
Browse files

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: default avatarSanteri Toivonen <santeri.toivonen@vatsul.com>
Signed-off-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
parent f68e492c
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -142,6 +142,15 @@ static const struct dmi_system_id asus_quirks[] = {
		 */
		 */
		.driver_data = &quirk_asus_wapf4,
		.driver_data = &quirk_asus_wapf4,
	},
	},
	{
		.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,
		.callback = dmi_matched,
		.ident = "ASUSTeK COMPUTER INC. X401U",
		.ident = "ASUSTeK COMPUTER INC. X401U",