dbuspassive: Fix typo in variable check
When setting min, should check for min instead of max.
Signed-off-by: Kun Yi <kunyi731@gmail.com>
Change-Id: I0097bb329408f807fea6d68ca0055c5d8215aba3
diff --git a/dbus/dbuspassive.cpp b/dbus/dbuspassive.cpp
index a0dbc57..5614335 100644
--- a/dbus/dbuspassive.cpp
+++ b/dbus/dbuspassive.cpp
@@ -65,7 +65,7 @@
settings.max = info->max;
}
- if (info->max != conf::inheritValueFromDbus)
+ if (info->min != conf::inheritValueFromDbus)
{
settings.min = info->min;
}