diff options
author | Matthias Dellweg <2500@gmx.de> | 2011-09-25 14:26:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-11 09:35:36 -0800 |
commit | 1faec480bbcf3917205feef90ae1e1b38edceaf6 (patch) | |
tree | 7f9484077ac0aedc33479e6ce35f28259378c4af /drivers/block | |
parent | 76fa3531d09c55ecf99ea62f13f8b1dd8be076e1 (diff) | |
download | kernel_samsung_crespo-1faec480bbcf3917205feef90ae1e1b38edceaf6.zip kernel_samsung_crespo-1faec480bbcf3917205feef90ae1e1b38edceaf6.tar.gz kernel_samsung_crespo-1faec480bbcf3917205feef90ae1e1b38edceaf6.tar.bz2 |
usb/core/devio.c: Check for printer class specific request
commit 393cbb5151ecda9f9e14e3082d048dd27a1ff9f6 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions