]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
asus-wmi: control wlan-led only if wapf == 4
authorAceLan Kao <acelan.kao@canonical.com>
Thu, 30 May 2013 02:31:50 +0000 (10:31 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 10 Jul 2013 19:42:47 +0000 (15:42 -0400)
commite8f56c80aedacfb1552509c0e4ed265266328bc4
treefb9e6102ebe09a4109937600c327a80d02143559
parentb5f4f9ef0125845cd03dc9de5dbe1344e60474d0
asus-wmi: control wlan-led only if wapf == 4

Controlling the wlan led seems to have some side effects to the machines
with wapf value is not equal to 4. It will make the keyboard backlight
out of order.
So, the patch will enable the wlan led function only if the wapf == 4.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=46791

Reported-by: Mirto Silvio Busico <m.busico@ieee.org>
Tested-by: Karol Herbst <karolherbst@me.com>
Tested-by: drunkenbatman <drunkenbatman@gmail.com>
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/asus-wmi.c