summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorMatthias Dellweg <2500@gmx.de>2011-09-25 14:26:25 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-26 16:30:47 -0700
commit393cbb5151ecda9f9e14e3082d048dd27a1ff9f6 (patch)
tree332ed1304482853188a6cb20d3d23ba6348a50e3 /drivers/usb/serial
parentaec01c5895051849ed842dc5b8794017a7751f28 (diff)
downloadop-kernel-dev-393cbb5151ecda9f9e14e3082d048dd27a1ff9f6.zip
op-kernel-dev-393cbb5151ecda9f9e14e3082d048dd27a1ff9f6.tar.gz
usb/core/devio.c: Check for printer class specific request
In the usb printer class specific request get_device_id the value of wIndex is (interface << 8 | altsetting) instead of just interface. This enables the detection of some printers with libusb. Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Matthias Dellweg <2500@gmx.de> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud