Skip to content

Commit 144a19a

Browse files
acelanMatthew Garrett
authored andcommitted
asus-nb-wmi: set wapf=4 for ASUSTeK COMPUTER INC. 1015E/U
Need to set wapf to 4 for ASUSTeK COMPUTER INC. 1015E/U, so that user can toggle wifi function through function key correctly. Signed-off-by: AceLan Kao <[email protected]> Signed-off-by: Matthew Garrett <[email protected]>
1 parent 5c7f80f commit 144a19a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,24 @@ static struct dmi_system_id asus_quirks[] = {
180180
},
181181
.driver_data = &quirk_asus_x401u,
182182
},
183+
{
184+
.callback = dmi_matched,
185+
.ident = "ASUSTeK COMPUTER INC. 1015E",
186+
.matches = {
187+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
188+
DMI_MATCH(DMI_PRODUCT_NAME, "1015E"),
189+
},
190+
.driver_data = &quirk_asus_x401u,
191+
},
192+
{
193+
.callback = dmi_matched,
194+
.ident = "ASUSTeK COMPUTER INC. 1015U",
195+
.matches = {
196+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
197+
DMI_MATCH(DMI_PRODUCT_NAME, "1015U"),
198+
},
199+
.driver_data = &quirk_asus_x401u,
200+
},
183201
{},
184202
};
185203

0 commit comments

Comments
 (0)