linux/net/mac80211
Ivo van Doorn 2f561feb38 mac80211: Add RTNL version of ieee80211_iterate_active_interfaces
Since commit e38bad4766
	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
..
aes_ccm.c mac80211: rename files 2008-04-08 16:44:45 -04:00
aes_ccm.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
cfg.c mac80211: allow WDS mode 2008-04-16 15:59:57 -04:00
cfg.h [MAC80211]: rename ieee80211_cfg.h to cfg.h 2007-10-10 16:52:34 -07:00
debugfs_key.c mac80211: fix debugfs default key oops 2008-05-12 21:18:05 -04:00
debugfs_key.h mac80211: fix key vs. sta locking problems 2008-04-08 16:44:45 -04:00
debugfs_netdev.c mac80211: rename files 2008-04-08 16:44:45 -04:00
debugfs_netdev.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_sta.c mac80211: make debugfs files root-only 2008-04-08 16:44:43 -04:00
debugfs_sta.h mac80211: RCU-ify STA info structure access 2008-03-06 15:30:46 -05:00
debugfs.c mac80211: rename files 2008-04-08 16:44:45 -04:00
debugfs.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
event.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
ieee80211_i.h mac80211: use 4-byte mesh sequence number 2008-04-30 20:34:26 -04:00
iface.c mac80211: assign needed_headroom/tailroom for netdevs 2008-05-12 20:51:44 -07:00
Kconfig wireless: Fix compile error with wifi & leds 2008-04-27 15:34:55 -07:00
key.c mac80211: fix key todo list order 2008-04-16 15:59:57 -04:00
key.h mac80211: fix key hwaccel race 2008-04-16 14:53:22 -04:00
led.c mac80211: rename files 2008-04-08 16:44:45 -04:00
led.h mac80211: rename files 2008-04-08 16:44:45 -04:00
main.c mac80211: Do not free net device after it is unregistered. 2008-05-04 17:59:30 -07:00
Makefile mac80211: rename files 2008-04-08 16:44:45 -04:00
mesh_hwmp.c mac80211: mesh hwmp: fix kfree(skb) 2008-05-12 21:22:18 -04:00
mesh_pathtbl.c Fix potential scheduling while atomic in mesh_path_add. 2008-05-12 21:22:19 -04:00
mesh_plink.c mac80211: rename files 2008-04-08 16:44:45 -04:00
mesh.c mac80211: fix incorrect mesh header length 2008-05-12 21:22:18 -04:00
mesh.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6 2008-05-01 02:06:32 -07:00
michael.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
michael.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
mlme.c mac80211 : Association with 11n hidden ssid ap. 2008-05-16 17:14:44 -04:00
rate.c mac80211: rename files 2008-04-08 16:44:45 -04:00
rate.h mac80211: rename files 2008-04-08 16:44:45 -04:00
rc80211_pid_algo.c mac80211: rename files 2008-04-08 16:44:45 -04:00
rc80211_pid_debugfs.c fix irq flags in mac80211 code 2008-05-12 21:18:04 -04:00
rc80211_pid.h rc80211-pid: fix definition of rate control interval 2008-01-28 15:00:55 -08:00
rx.c mac80211: add missing newlines in printk() 2008-05-12 21:44:41 -04:00
sta_info.c mac80211: rename files 2008-04-08 16:44:45 -04:00
sta_info.h mac80211: rename files 2008-04-08 16:44:45 -04:00
tkip.c mac80211: incorrect shift direction 2008-04-30 20:34:26 -04:00
tkip.h mac80211: rename files 2008-04-08 16:44:45 -04:00
tx.c mac80211: Use skb_header_cloned() on TX path. 2008-05-12 21:59:32 -07:00
util.c mac80211: Add RTNL version of ieee80211_iterate_active_interfaces 2008-05-16 17:15:09 -04:00
wep.c mac80211: split ieee80211_txrx_data 2008-03-06 15:30:46 -05:00
wep.h mac80211: rename files 2008-04-08 16:44:45 -04:00
wext.c mac80211: allow WDS mode 2008-04-16 15:59:57 -04:00
wme.c mac80211: add missing newlines in printk() 2008-05-12 21:44:41 -04:00
wme.h mac80211: A-MPDU Tx adding qdisc support 2008-02-29 15:19:17 -05:00
wpa.c mac80211: allows driver to request a Phase 1 RX key 2008-03-25 16:41:53 -04:00
wpa.h mac80211: split ieee80211_txrx_data 2008-03-06 15:30:46 -05:00