]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitdf602c2d2358f02c6e49cffc5b49b9daa16db033
treee424b764c2eb6073ee1a4fe0a02918f127cd3bf3
parent4d7c0136a54f62501f8a34c4d08a5e0258d3d3ca
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