Re: [PATCH] platform/x86: ideapad-laptop: Add Y720-15IKB to no_hw_rfkill

From: Andy Shevchenko
Date: Mon Jan 08 2018 - 12:30:30 EST


On Sun, Jan 7, 2018 at 9:53 PM, Olle Liljenzin <olle@xxxxxxxxxxxx> wrote:
> Lenovo Legion Y720-15IKB 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!

>
> Signed-off-by: Olle Liljenzin <olle@xxxxxxxxxxxx>
> ---
> drivers/platform/x86/ideapad-laptop.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
> index 53ab4e0f8962..c945572485ce 100644
> --- a/drivers/platform/x86/ideapad-laptop.c
> +++ b/drivers/platform/x86/ideapad-laptop.c
> @@ -1103,6 +1103,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
> DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y520-15IKBN"),
> },
> },
> + {
> + .ident = "Lenovo Legion Y720-15IKB",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y720-15IKB"),
> + },
> + },
> {
> .ident = "Lenovo Legion Y720-15IKBN",
> .matches = {
> --
> 2.14.3
>



--
With Best Regards,
Andy Shevchenko