]> git.baikalelectronics.ru Git - kernel.git/commit
hp-wmi: detect "2009 BIOS or later" flag by WMI 0x0d for wireless cmd
authorAlex Hung <alex.hung@canonical.com>
Tue, 29 Oct 2013 06:57:58 +0000 (14:57 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 20 Nov 2013 23:51:03 +0000 (18:51 -0500)
commit2ef974532fd6dba94b0e5884b2f76b59ccf57541
tree1a34de5d9f9924fe70dc988f5231227615b2833e
parenta58596241c1a43a0dd455bae171e3c0f76be12b2
hp-wmi: detect "2009 BIOS or later" flag by WMI 0x0d for wireless cmd

Some HP BIOS has dummy WMI 0x05 cmd and it causes wireless set cmd to fail.
This patch fixes the problem by detecting "2009 BIOS or later" flag which
determines whether WMI 0x1b is supported and is used to replace WMI 0x05.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/hp-wmi.c