hp-wmi: Fix wifi cannot be hard-unblocked
authorAlex Hung <alex.hung@canonical.com>
Mon, 13 Jun 2016 11:44:00 +0000 (19:44 +0800)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 29 Jun 2016 05:18:32 +0000 (22:18 -0700)
commitfc8a601e1175ae351f662506030f9939cb7fdbfe
tree15f94403a40f76c2631c3a5246fb33ffae55985f
parent95d16d816a45d52e0aecd0dd21cf7b93d88fedf7
hp-wmi: Fix wifi cannot be hard-unblocked

Several users reported wifi cannot be unblocked as discussed in [1].
This patch removes the use of the 2009 flag by BIOS but uses the actual
WMI function calls - it will be skipped if WMI reports unsupported.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=69131

Signed-off-by: Alex Hung <alex.hung@canonical.com>
Tested-by: Evgenii Shatokhin <eugene.shatokhin@yandex.ru>
Cc: stable@vger.kernel.org
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/hp-wmi.c