diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 38c3a28d6392586d2123f5df44f226a2aa832829..bf521b36c2f94b6b3b9daa7f920ac7a87754ac5c 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -856,7 +856,7 @@ acpi_video_init_brightness(struct acpi_video_device *device) * or an index). Set the backlight to max_level in this case. */ for (i = 2; i < br->count; i++) - if (level_old == br->levels[i]) + if (level == br->levels[i]) break; if (i == br->count) level = max_level;