sane.ds: Add a log message to flag unsupported operations.
This commit is contained in:
parent
c00d81ab14
commit
2033312b43
|
@ -386,5 +386,8 @@ TW_UINT16 SANE_SaneCapability (pTW_CAPABILITY pCapability, TW_UINT16 action)
|
||||||
if (twCC == TWCC_CAPUNSUPPORTED && action == MSG_QUERYSUPPORT)
|
if (twCC == TWCC_CAPUNSUPPORTED && action == MSG_QUERYSUPPORT)
|
||||||
twCC = set_onevalue(pCapability, 0, TWTY_INT32);
|
twCC = set_onevalue(pCapability, 0, TWTY_INT32);
|
||||||
|
|
||||||
|
if (twCC == TWCC_CAPUNSUPPORTED)
|
||||||
|
TRACE("capability 0x%x/action=%d being reported as unsupported\n", pCapability->Cap, action);
|
||||||
|
|
||||||
return twCC;
|
return twCC;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue