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)
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