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)
commit11466f1342a3400dd5e03da3d8c45aa4149c62d4
treec15b9b9c3ae4329493a02b350d22498f686fd258
parent5b6e2f12edd6c46e87a2775321f1912d19be4b35
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