Merge branch '616-bug-in-current-release-libsane-for-ubuntu-22-04-1-with-samsung-scx-4828-fn' into 'master'

Resolve "BUG in current release libsane for Ubuntu 22.04.1 with Samsung SCX-4828 FN"

Closes #616

See merge request sane-project/backends!760
617-sane-pixma-canon-mf4570dw-ethernet-supported
Ralph Little 2022-10-22 01:44:52 +00:00
commit 436c507ade
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -213,7 +213,8 @@ static int isSupportedDevice(struct device __sane_unused__ *dev)
if (!strncmp(dev->sane.model, "SCX-4500W", 9) ||
!strncmp(dev->sane.model, "C460", 4) ||
!!strstr(dev->sane.model, "CLX-3170") ||
!!strstr(dev->sane.model, "4x24") ||
!!strstr(dev->sane.model, "4x24") ||
!!strstr(dev->sane.model, "4x28") ||
!strncmp(dev->sane.model, "M288x", 5))
return 0;
return 1;