[PATCH] zd1211rw: Convert installer CDROM device into WLAN device
authorDaniel Drake <dsd@gentoo.org>
Sun, 13 Aug 2006 11:15:29 +0000 (12:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Aug 2006 19:43:23 +0000 (15:43 -0400)
commita1030e92c1507eb4a3c15d0a7d62987f671b609c
tree96bdf0831b6a71bbf43fd6ad28f1186a9b408b0c
parent4ceb7e9936dae67d6c553a4954fa410a99b3ea16
[PATCH] zd1211rw: Convert installer CDROM device into WLAN device

Some devices identify themselves as a virtual USB CDROM drive. The virtual CD
includes the windows driver. We aren't interested in this, so we eject the
virtual CDROM and then the real wireless device appears.

Patch fixed over the earlier version to not leak cmd, thanks to Michael Buesch
for spotting that.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_usb.c
drivers/net/wireless/zd1211rw/zd_usb.h