]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ideapad_laptop: Lenovo G50-30 fix rfkill reports wireless blocked
authorDmitry Tunin <hanipouspilot@gmail.com>
Sun, 18 Jan 2015 12:44:40 +0000 (15:44 +0300)
committerLuis Henriques <luis.henriques@canonical.com>
Wed, 15 Jul 2015 09:00:16 +0000 (10:00 +0100)
commit 4fa9dabcffc8e16601307d3d56b58c68d9716ba4 upstream.

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 <hanipouspilot@gmail.com>
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
[dvhart@linux.intel.com: Reordered dmi id per Phillippe's later version]
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/platform/x86/ideapad-laptop.c

index 7fe7ed830d8d11d7b093db51da5e4811b777c1b6..11712d1dbd17c47e31b6472640f22beae47f0728 100644 (file)
@@ -830,6 +830,13 @@ static void ideapad_acpi_notify(acpi_handle handle, u32 event, void *data)
  * report all radios as hardware-blocked.
  */
 static struct dmi_system_id no_hw_rfkill_list[] = {
+       {
+               .ident = "Lenovo G50-30",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
+               },
+       },
        {
                .ident = "Lenovo Yoga 2 11 / 13 / Pro",
                .matches = {