From: Matthias Dellweg <2500@gmx.de> Date: Sun, 25 Sep 2011 12:26:25 +0000 (+0200) Subject: usb/core/devio.c: Check for printer class specific request X-Git-Tag: v3.2-rc1~183^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=393cbb5151ecda9f9e14e3082d048dd27a1ff9f6;p=pandora-kernel.git 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 Signed-off-by: Matthias Dellweg <2500@gmx.de> Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed