[PATCH] acpi/method: check _WPP returns by fwts_method_test_polling_return
Alex Hung
alex.hung at canonical.com
Tue May 19 17:04:02 UTC 2020
Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
src/acpi/method/method.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index 9463b2a8..e0c8c96d 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -4384,7 +4384,7 @@ static int method_test_WPC(fwts_framework *fw)
static int method_test_WPP(fwts_framework *fw)
{
return method_evaluate_method(fw, METHOD_OPTIONAL,
- "_WPP", NULL, 0, fwts_method_test_integer_return, NULL);
+ "_WPP", NULL, 0, fwts_method_test_polling_return, NULL);
}
/*
--
2.25.1
More information about the fwts-devel
mailing list