]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
get every time scanner status
authorBastian Dehn <hhaalo@arcor.de>
Wed, 28 Feb 2024 14:44:44 +0000 (15:44 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Wed, 28 Feb 2024 15:16:41 +0000 (16:16 +0100)
src/kds_s2000w_handler.c

index 842c0d756bd137707fe2caeaaccacc659297f760..8b53e2795b8f4170ac97f9d291dacd8764a11551 100644 (file)
@@ -317,11 +317,8 @@ void kds_s2000w_handler_get_parameters(handler* h)
                return;
        }
 
-       if (!h->current_scan_status->complete_scanned
-               && h->current_scan_status->available_images <= 0) {
-               debug_printf(DEBUG, "get scanner status");
-               _get_current_scan_status(h);
-       }
+       debug_printf(DEBUG, "get scanner status");
+       _get_current_scan_status(h);
 
        debug_printf_int(DEBUG, "available images", h->current_scan_status->available_images);
        if (h->current_scan_status->available_images > 0) {