From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752027AbbARMpA (ORCPT ); Sun, 18 Jan 2015 07:45:00 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:43405 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751451AbbARMo6 (ORCPT ); Sun, 18 Jan 2015 07:44:58 -0500 From: Dmitry Tunin To: platform-driver-x86 Cc: linux-kernel , Dmitry Tunin , stable@vger.kernel.org Subject: [PATCH] ideapad_laptop: Lenovo G50-30 fix rfkill reports wireless blocked Date: Sun, 18 Jan 2015 15:44:40 +0300 Message-Id: <1421585080-8004-1-git-send-email-hanipouspilot@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Lenovo G30-50 does not have a hardware wireless switch and wireless is always blocked. BugLink: https://bugs.launchpad.net/bugs/1397021 Signed-off-by: Dmitry Tunin Cc: stable@vger.kernel.org --- 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 b3d419a..4e42253 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -843,6 +843,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"), + }, + }, {} }; -- 1.9.1