]> git.baikalelectronics.ru Git - kernel.git/commit
usb: storage: shuttle_usbat: fix discs being detected twice
authorDaniele Forsi <dforsi@gmail.com>
Tue, 29 Apr 2014 09:44:03 +0000 (11:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 May 2014 22:04:28 +0000 (18:04 -0400)
commit5aae64b7899a9795eba13c37584ea93afe846176
treee424b764c2eb6073ee1a4fe0a02918f127cd3bf3
parent15792d4ec6ce5c6b938e6fa43893e8db0d8e7bd8
usb: storage: shuttle_usbat: fix discs being detected twice

Even if the USB-to-ATAPI converter supported multiple LUNs, this
driver would always detect the same physical device or media because
it doesn't use srb->device->lun in any way.
Tested with an Hewlett-Packard CD-Writer Plus 8200e.

Signed-off-by: Daniele Forsi <dforsi@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/shuttle_usbat.c