diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-07-03 19:02:44 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-07 21:31:39 +0200 |
commit | ea0c925370b33baf168bb33782c613468c1aa119 (patch) | |
tree | 3a1c0edb45895a289c5e3e36a85c8fb57439e3ee /drivers | |
parent | mac80211: move netif_carrier_on to after ieee80211_bss_info_change_notify (diff) | |
download | linux-ea0c925370b33baf168bb33782c613468c1aa119.tar.xz linux-ea0c925370b33baf168bb33782c613468c1aa119.zip |
mac80211: Only flush workqueue when last interface was removed
Currently the ieee80211_hw->workqueue is flushed each time
an interface is being removed. However most scheduled work
is not interface specific but device specific, for example things like
periodic work for link tuners.
This patch will move the flush_workqueue() call to directly behind
the call to ops->stop() to make sure the workqueue is only flushed
when all interfaces are gone and there really shouldn't be any scheduled
work in the drivers left.
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 'drivers')
0 files changed, 0 insertions, 0 deletions