]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
Revert "remove stop scan"
authorBastian Dehn <hhaalo@arcor.de>
Wed, 28 Feb 2024 19:25:30 +0000 (20:25 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Wed, 28 Feb 2024 19:25:30 +0000 (20:25 +0100)
This reverts commit 2c27789460669883e764ad5da0988bec817f21ed.

src/kds_s2000w_net.c

index e3912e587f407c1c674f59f430f907e886170405..2da0174c6883eabf1351e42d88cf4e1f20eff5f6 100644 (file)
@@ -171,6 +171,9 @@ SANE_Status _sane_kds_s2000w_net_start(SANE_Handle handle)
                        break;
        }
 
+       if (h->current_scan_status->complete_scanned)
+               kds_s2000w_handler_stop_scan(h);
+
        return SANE_STATUS_GOOD;
 }