Ivo van Doorn 2f561feb38 mac80211: Add RTNL version of ieee80211_iterate_active_interfaces
Since commit e38bad4766a110b61fa6038f10be16ced8c6cc38
	mac80211: make ieee80211_iterate_active_interfaces not need rtnl
rt2500usb and rt73usb broke down due to attempting register access
in atomic context (which is not possible for USB hardware).

This patch restores ieee80211_iterate_active_interfaces() to use RTNL lock,
and provides the non-RTNL version under a new name:
	ieee80211_iterate_active_interfaces_atomic()

So far only rt2x00 uses ieee80211_iterate_active_interfaces(), and those
drivers require the RTNL version of ieee80211_iterate_active_interfaces().
Since they already call that function directly, this patch will automatically
fix the USB rt2x00 drivers.

v2: Rename ieee80211_iterate_active_interfaces_rtnl

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-05-16 17:15:09 -04:00
..
2008-04-08 16:44:45 -04:00
2008-04-16 15:59:57 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2007-05-05 11:46:38 -07:00
2008-04-16 15:59:57 -04:00
2008-04-16 14:53:22 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2008-04-30 20:34:26 -04:00
2008-04-08 16:44:45 -04:00
2008-03-06 15:30:46 -05:00
2008-04-08 16:44:45 -04:00
2008-04-16 15:59:57 -04:00
2008-02-29 15:19:17 -05:00
2008-03-06 15:30:46 -05:00