diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-05-10 13:40:49 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-16 17:15:09 -0400 |
commit | 2f561feb386d6adefbad63c59a1fcd298ac6a79c (patch) | |
tree | 9f2979c3539314b58f9a417b26347b7b09dd2722 /lib/kasprintf.c | |
parent | 34a961f7db36f10abd6b153411fe8c810f21f6b3 (diff) |
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>
Diffstat (limited to 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions