diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-07-04 07:41:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-08 14:16:04 -0400 |
commit | 8e260c22238dd8b57aefb1f5e4bd114486a9c17d (patch) | |
tree | aaf7e9d32e1e30fa204d154e02f7dd9d45043319 /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | ff352391acfac1e183c8c8b2858f9393bd064a65 (diff) |
rt2x00: Use ieee80211_hw->workqueue again
Remove the rt2x00 singlethreaded workqueue and move
the link tuner and packet filter scheduled work to
the ieee80211_hw->workqueue again.
The only exception is the interface scheduled work
handler which uses the mac80211 interface iterator
under the RTNL lock. This work needs to be handled
on the kernel workqueue to prevent lockdep issues.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 1b28dad7f204..c07d9ef383f0 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -787,8 +787,10 @@ struct rt2x00_dev { | |||
787 | 787 | ||
788 | /* | 788 | /* |
789 | * Scheduled work. | 789 | * Scheduled work. |
790 | * NOTE: intf_work will use ieee80211_iterate_active_interfaces() | ||
791 | * which means it cannot be placed on the hw->workqueue | ||
792 | * due to RTNL locking requirements. | ||
790 | */ | 793 | */ |
791 | struct workqueue_struct *workqueue; | ||
792 | struct work_struct intf_work; | 794 | struct work_struct intf_work; |
793 | struct work_struct filter_work; | 795 | struct work_struct filter_work; |
794 | 796 | ||