]> git.baikalelectronics.ru Git - kernel.git/commit
zd1211rw: improve ejecting of fake CDROM
authorStefan Seyfried <seife@sphairon.com>
Tue, 8 Dec 2009 14:21:35 +0000 (15:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Dec 2009 18:56:05 +0000 (13:56 -0500)
commit0186de4f3e6b7f5fb3acec4ed91ffccb207c26d7
treec15b9b9c3ae4329493a02b350d22498f686fd258
parent6578457e93a44719e1f0a9df0ea028ef986af0bc
zd1211rw: improve ejecting of fake CDROM

The zd1211rw always assumed that the storage device is at endpoint 1,
but there are devices (Spairon Homelink 1202) that are at endpoint 0.
Try both, starting with 1 to make sure to not break existing setups.

Signed-off-by: Stefan Seyfried <seife@sphairon.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_usb.c