]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change wait for available images
authorBastian Dehn <hhaalo@arcor.de>
Sat, 1 Feb 2025 12:02:15 +0000 (13:02 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 1 Feb 2025 12:02:15 +0000 (13:02 +0100)
src/kds_s2000w_net.c

index aa4f9487541067f281979558595198b71911d867..ba94ddf51c4ff89a3961ec5c3ae1ad92ac9c3f52 100644 (file)
@@ -141,8 +141,7 @@ SANE_Status sane_kds_s2000w_net_start(SANE_Handle handle)
        for (int i = 0; i < 30; i++) {
                kds_s2000w_handler_get_current_scan_status(h);
 
-               if (h->current_scan_status->available_images > 0
-                       || h->current_scan_status->downloaded_images > 0)
+               if (h->current_scan_status->available_images > 0)
                        break;
        }