gt68xx: 1.0.31 breaks Mustek 1248UB after first scan
It seems commit 5dd9eeb0 breaks scanner operation after the first scanned page. Please refer to [1] (in Russian).
Commit message says it was made for testing and I think the test has failed.
Reverting the commit restores operation.
As there is not a single change, I guess only this part should be removed:
@@ -2329,7 +2329,7 @@ sane_cancel (SANE_Handle handle)
/* some scanners don't like this command when cancelling a scan */
sanei_usb_set_timeout (SHORT_TIMEOUT);
gt68xx_device_fix_descriptor (s->dev);
- //gt68xx_scanner_stop_scan (s);
+ gt68xx_scanner_stop_scan (s);
sanei_usb_set_timeout (LONG_TIMEOUT);
if (s->dev->model->flags & GT68XX_FLAG_SHEET_FED)