]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
remove start check started
authorBastian Dehn <hhaalo@arcor.de>
Sat, 17 Feb 2024 16:44:06 +0000 (17:44 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 17 Feb 2024 16:44:06 +0000 (17:44 +0100)
src/kds_s2000w_net.c

index 68c255d43597855941ed1815f74d7e6ea52c62bb..01f7d9fcc80527a3f1dcc7bd1e602bdbf9f79b45 100644 (file)
@@ -170,9 +170,6 @@ SANE_Status _sane_kds_s2000w_net_get_parameters(SANE_Handle handle,
 SANE_Status _sane_kds_s2000w_net_start(SANE_Handle handle)
 {
        debug_printf(ALL, "sane_kds_s2000w_net_start");
-       if (read_info.scan_started)
-               return SANE_STATUS_GOOD;
-
        read_info.cancel = 0;
        read_info.scan_started = 1;
        kds_s2000w_handler_start_scan();