]> 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)
commit85f153412a5568cbafa05139f7f741457975e20e
tree1a34de5d9f9924fe70dc988f5231227615b2833e
parent5541338da93a16f156524c3ff0008cdb27e2515f
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