ideapad_laptop: Lenovo G50-30 fix rfkill always reports wireless blocked
Subsystems (2)
PATCH 1/1 ideapad_laptop: Lenovo G50-30 fix rfkill always reports wireless blocked
Rfkill always shows wireless blocked unless ideapad_laptop is blacklisted. Add a quirk.
Signed-off-by Dmitry Tunin <[email protected]>
--- drivers/platform/x86/ideapad-laptop.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/platform/x86/ideapad-laptop.c +7 -0
@@ -844,6 +844,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 3 Pro-1370"), }, }, + { + .ident = "Lenovo G50-30", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"), + }, + }, {} };
Signature · 1 line
1.9.1
Is anything wrong with this patch?
It was made against last mainline kernel at the moment. If a patch against linux-next needed, I can make it. Without this patch wireless is always blocked.
Regards,
Dmitry.
27.11.2014 19:39, Dmitry Tunin пишет:
Quoted 28 lines
Rfkill always shows wireless blocked unless
ideapad_laptopis blacklisted. Add a quirk.Signed-off-by Dmitry Tunin <[email protected]>--- drivers/platform/x86/ideapad-laptop.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/platform/x86/ideapad-laptop.c +7
-0@@ -844,6 +844,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 3 Pro-1370"), }, }, + { + .ident = "Lenovo G50-30", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"), + }, + }, {} };