]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
not scan start parameter good
authorBastian Dehn <hhaalo@arcor.de>
Mon, 26 Feb 2024 19:13:40 +0000 (20:13 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 26 Feb 2024 19:13:40 +0000 (20:13 +0100)
src/kds_s2000w_net.c

index d3dd40a718c473e922dba028673a360aa7c903dd..e4c91aef3750d761991b06b97ddd8a627cf43c36 100644 (file)
@@ -131,7 +131,7 @@ SANE_Status _sane_kds_s2000w_net_get_parameters(SANE_Handle handle,
        handler* h = (handler*) handle;
 
        if (!h->read_info->scan_started)
-               return SANE_STATUS_INVAL;
+               return SANE_STATUS_GOOD;
 
        for (int i = 0; i < 10; i++) {
                sleep(1);