rt2x00: Fix scheduling while atomic errors in usb drivers
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 10 Feb 2008 21:50:04 +0000 (22:50 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:19 +0000 (15:37 -0500)
commite44df9296a8ab9d9160e230d68a1b01015c94e93
tree5a9d6a617b61bc8cef0085062c926d1958495be1
parent21795094e2b71b4b11bfb468321046c1336cef69
rt2x00: Fix scheduling while atomic errors in usb drivers

Call rt2x00_config_intf() outside of the spinlock context since
the call will sleep for USB drivers. By using the ieee80211_if_conf
values as arguments we make keep access tp rt2x00_intf thread safe
even without the lock.

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