rt2x00: Remove async vendor request calls from rt2x00usb
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 17 Feb 2008 16:35:28 +0000 (17:35 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:24 +0000 (15:37 -0500)
commit47b10cd1375855dbc6675a176c71a512ac4b7317
treea86ed1c88ea00371935f1ac3cd684d49b561bba2
parent31562e802a72caf0757f351fff563d558d48d087
rt2x00: Remove async vendor request calls from rt2x00usb

The async vendor requests are a ugly hack which is not working correctly.
The proper fix for the scheduling while atomic issue is finding out why
we can't use led classes for USB drivers and fix that.

Just replace all async calls with the regular ones and print an
error for the disallowed LED configuration attempts. That will
help in determining which led class is causing the problem.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt2x00usb.c
drivers/net/wireless/rt2x00/rt2x00usb.h
drivers/net/wireless/rt2x00/rt73usb.c