This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/thermald.git#b06314325298a76c09252475118f700d3c0f6248
17 lines
614 B
Diff
17 lines
614 B
Diff
diff --git a/src/thd_engine_adaptive.cpp b/src/thd_engine_adaptive.cpp
|
|
index 1464006..c0ab87e 100644
|
|
--- a/src/thd_engine_adaptive.cpp
|
|
+++ b/src/thd_engine_adaptive.cpp
|
|
@@ -1190,9 +1190,9 @@ int cthd_engine_adaptive::install_passive(struct psv *psv) {
|
|
int target_state = 0;
|
|
|
|
if (psv->limit.length()) {
|
|
- if (psv->limit == "MAX") {
|
|
+ if (psv->limit == "MAX" || psv->limit == "max" ) {
|
|
target_state = TRIP_PT_INVALID_TARGET_STATE;
|
|
- } else if (psv->limit == "MIN") {
|
|
+ } else if (psv->limit == "MIN" || psv->limit == "min") {
|
|
target_state = 0;
|
|
} else {
|
|
std::istringstream buffer(psv->limit);
|