mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Ignore IEEE1284 descriptors when looking for bidirectional mode. We don't
really know how to talk IEEE1284, so attaching to that interface makes the printer unusable. Approved by: joe
This commit is contained in:
parent
6ed6884063
commit
f0d91fb7ea
1 changed files with 2 additions and 2 deletions
|
|
@ -246,8 +246,8 @@ USB_ATTACH(ulpt)
|
|||
id->bInterfaceNumber == ifcd->bInterfaceNumber) {
|
||||
if (id->bInterfaceClass == UICLASS_PRINTER &&
|
||||
id->bInterfaceSubClass == UISUBCLASS_PRINTER &&
|
||||
(id->bInterfaceProtocol == UIPROTO_PRINTER_BI ||
|
||||
id->bInterfaceProtocol == UIPROTO_PRINTER_1284))
|
||||
(id->bInterfaceProtocol == UIPROTO_PRINTER_BI /* ||
|
||||
id->bInterfaceProtocol == UIPROTO_PRINTER_1284 */))
|
||||
goto found;
|
||||
altno++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue