Skip to contentSkip to conversation

ideapad-laptop: Add E42-80 to no_hw_rfkill

PATCH In review dylanchu 2 participants 2 messages May 28, 2018 – May 31, 2018 x86 platform drivers

lore
Share & tools
lore

dylanchu

author
#0 lore raw

PATCH 1/1 ideapad-laptop: Add E42-80 to no_hw_rfkill

Lenovo Zhaoyang E42-80 is another Lenovo model without a hw rfkill switch, resulting in wifi always reported as hard blocked.

Add the model to the list of models without rfkill switch.

---
 drivers/platform/x86/ideapad-laptop.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/ideapad-laptop.c +7 -0
index 535199c9e6bc..6fdd70373ed3 100644
@@ -1163,6 +1163,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 920-13IKB"),
 		},
 	},
+	{
+		.ident = "Lenovo Zhaoyang E42-80",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "ZHAOYANG E42-80"),
+		},
+	},
 	{}
 };
 

--
2.17.0

#1 lore raw
Quoted 6 lines · dylanchu

Lenovo Zhaoyang E42-80 is another Lenovo model without a hw rfkill switch, resulting in wifi always reported as hard blocked.

Add the model to the list of models without rfkill switch.

Pushed to my review and testing queue, thanks!

Quoted 25 lines
---
 drivers/platform/x86/ideapad-laptop.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/ideapad-laptop.c +7 -1
index 535199c9e6bc..6fdd70373ed3 100644
@@ -1163,6 +1163,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 920-13IKB"),
                },
        },
+       {
+               .ident = "Lenovo Zhaoyang E42-80",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "ZHAOYANG E42-80"),
+               },
+       },
        {}
 };
 
--

2.17.0

Signature · 2 lines
With Best Regards,
Andy Shevchenko